Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 184.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.89 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.768e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3253, allocations: 142.3 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9488/1.274, allocations: 164.6 MB / 1.367 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.275, allocations: 86.7 kB / 1.367 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06994/1.344, allocations: 32.14 MB / 1.398 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.562e-06/1.345, allocations: 0 / 1.398 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.497e-05/1.345, allocations: 11.56 kB / 1.398 GB, free: 24.06 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00155/1.346, allocations: 0.7769 MB / 1.399 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.346, allocations: 7.656 kB / 1.399 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/1.348, allocations: 205.6 kB / 1.399 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/1.348, allocations: 496.7 kB / 1.4 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/1.349, allocations: 15.41 kB / 1.4 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/1.349, allocations: 23.22 kB / 1.4 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006442/1.349, allocations: 419.5 kB / 1.4 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/1.35, allocations: 0.8523 MB / 1.401 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.35, allocations: 3.938 kB / 1.401 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/1.35, allocations: 7.594 kB / 1.401 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.69e-05/1.35, allocations: 55.02 kB / 1.401 GB, free: 22.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/1.355, allocations: 5.538 MB / 1.406 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/1.355, allocations: 447.9 kB / 1.407 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/1.355, allocations: 214.1 kB / 1.407 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/1.355, allocations: 4.359 kB / 1.407 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.355, allocations: 37.59 kB / 1.407 GB, free: 17.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 2.805e-06/1.355, allocations: 4 kB / 1.407 GB, free: 17.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001425/1.357, allocations: 0.8017 MB / 1.408 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/1.357, allocations: 59.33 kB / 1.408 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/1.357, allocations: 358 kB / 1.408 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/1.357, allocations: 25.7 kB / 1.408 GB, free: 16.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/1.358, allocations: 348.9 kB / 1.409 GB, free: 16.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/1.358, allocations: 116.2 kB / 1.409 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/1.358, allocations: 4 kB / 1.409 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.358, allocations: 359.3 kB / 1.409 GB, free: 16.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/1.358, allocations: 172.8 kB / 1.409 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/1.358, allocations: 388.1 kB / 1.41 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/1.359, allocations: 239.6 kB / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.359, allocations: 3.984 kB / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009675/1.36, allocations: 0.6934 MB / 1.41 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.36, allocations: 7.656 kB / 1.41 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.36, allocations: 7.844 kB / 1.41 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/1.36, allocations: 140.4 kB / 1.411 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/1.361, allocations: 119.9 kB / 1.411 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/1.363, allocations: 3.866 MB / 1.415 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/1.364, allocations: 23.97 kB / 1.415 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/1.364, allocations: 25.62 kB / 1.415 GB, free: 11.44 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.364, allocations: 128.1 kB / 1.415 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.364, allocations: 55.34 kB / 1.415 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008695/1.365, allocations: 0.5587 MB / 1.415 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.365, allocations: 8 kB / 1.415 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.365, allocations: 4 kB / 1.415 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.365, allocations: 0 / 1.415 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/1.367, allocations: 1.151 MB / 1.416 GB, free: 9.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/1.367, allocations: 0 / 1.416 GB, free: 9.812 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/1.367, allocations: 59.39 kB / 1.416 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/1.367, allocations: 139.4 kB / 1.417 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/1.367, allocations: 0 / 1.417 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/1.37, allocations: 3.869 MB / 1.42 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.37, allocations: 4 kB / 1.42 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.371, allocations: 0.7487 MB / 1.421 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/1.371, allocations: 166.4 kB / 1.421 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/1.372, allocations: 8 kB / 1.421 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/1.372, allocations: 15.97 kB / 1.421 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/1.372, allocations: 35.73 kB / 1.421 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/1.372, allocations: 11.25 kB / 1.421 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003285/1.372, allocations: 262.5 kB / 1.422 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.372, allocations: 4 kB / 1.422 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007713/1.373, allocations: 124 kB / 1.422 GB, free: 4.293 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/1.373, allocations: 109.4 kB / 1.422 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001428/1.375, allocations: 0.9584 MB / 1.423 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.375, allocations: 3.938 kB / 1.423 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/1.376, allocations: 0.6993 MB / 1.423 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/1.376, allocations: 165.3 kB / 1.424 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/1.378, allocations: 0.7133 MB / 1.424 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/1.378, allocations: 0.9237 MB / 1.425 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003814/1.379, allocations: 116.8 kB / 1.425 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/1.379, allocations: 38.81 kB / 1.425 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.379, allocations: 4 kB / 1.425 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of Templates: time 0.01293/1.392, allocations: 6.353 MB / 1.432 GB, free: 10.4 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches