Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001166/0.001166, allocations: 183.3 kB / 0.4902 GB, free: 2.258 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.664/1.664, allocations: 223.2 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 96.31 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004207, allocations: 10.61 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.5325, allocations: 166.1 MB / 1.391 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.5329, allocations: 95.94 kB / 1.392 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7426/1.275, allocations: 32.43 MB / 1.423 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.717e-06/1.276, allocations: 0 / 1.423 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.685e-05/1.276, allocations: 25.28 kB / 1.423 GB, free: 167.2 MB / 0.9011 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.001384/1.277, allocations: 0.8338 MB / 1.424 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.277, allocations: 13.31 kB / 1.424 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/1.278, allocations: 211.2 kB / 1.424 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/1.279, allocations: 486.8 kB / 1.425 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/1.279, allocations: 33.5 kB / 1.425 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/1.279, allocations: 44.56 kB / 1.425 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.28, allocations: 0.927 MB / 1.426 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.28, allocations: 7.688 kB / 1.426 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/1.281, allocations: 28.47 kB / 1.426 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.552e-05/1.281, allocations: 49.22 kB / 1.426 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000889/1.282, allocations: 0.5696 MB / 1.426 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/1.285, allocations: 5.662 MB / 1.432 GB, free: 161 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/1.286, allocations: 459.7 kB / 1.432 GB, free: 161 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/1.286, allocations: 5.062 kB / 1.432 GB, free: 161 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/1.286, allocations: 35.05 kB / 1.432 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/1.286, allocations: 0 / 1.432 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.002362/1.288, allocations: 1.506 MB / 1.434 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/1.288, allocations: 58.75 kB / 1.434 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/1.289, allocations: 429.5 kB / 1.434 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.289, allocations: 31.86 kB / 1.434 GB, free: 160 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.289, allocations: 346.4 kB / 1.435 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/1.289, allocations: 117.7 kB / 1.435 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/1.289, allocations: 10.16 kB / 1.435 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/1.289, allocations: 361.3 kB / 1.435 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/1.289, allocations: 188.4 kB / 1.435 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/1.29, allocations: 415.5 kB / 1.436 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/1.29, allocations: 251.8 kB / 1.436 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.29, allocations: 2.719 kB / 1.436 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001253/1.292, allocations: 0.7707 MB / 1.437 GB, free: 159 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.292, allocations: 8.25 kB / 1.437 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.292, allocations: 7.969 kB / 1.437 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/1.292, allocations: 151.7 kB / 1.437 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/1.293, allocations: 113.2 kB / 1.437 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.295, allocations: 4.072 MB / 1.441 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/1.296, allocations: 31.23 kB / 1.441 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/1.296, allocations: 25.28 kB / 1.441 GB, free: 155.1 MB / 0.9011 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 () * Number of clocked 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.0003512/1.296, allocations: 206.6 kB / 1.441 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/1.296, allocations: 61.47 kB / 1.441 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/1.297, allocations: 0.592 MB / 1.442 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.297, allocations: 2.719 kB / 1.442 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.297, allocations: 9.031 kB / 1.442 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.297, allocations: 1.344 kB / 1.442 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/1.299, allocations: 1.255 MB / 1.443 GB, free: 154.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.299, allocations: 3.125 kB / 1.443 GB, free: 154.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/1.299, allocations: 58.2 kB / 1.443 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/1.3, allocations: 143.9 kB / 1.443 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/1.3, allocations: 16.38 kB / 1.443 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/1.302, allocations: 4.047 MB / 1.447 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.302, allocations: 2.344 kB / 1.447 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/1.303, allocations: 0.7894 MB / 1.448 GB, free: 150.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/1.304, allocations: 166 kB / 1.448 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/1.304, allocations: 11.58 kB / 1.448 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/1.304, allocations: 33.14 kB / 1.448 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/1.304, allocations: 35.77 kB / 1.448 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/1.304, allocations: 8.781 kB / 1.448 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003973/1.304, allocations: 335.1 kB / 1.449 GB, free: 150 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/1.304, allocations: 0 / 1.449 GB, free: 150 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007439/1.305, allocations: 149.6 kB / 1.449 GB, free: 150 MB / 0.9011 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 () * Number of clocked 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.000169/1.305, allocations: 124.2 kB / 1.449 GB, free: 149.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.307, allocations: 1.016 MB / 1.45 GB, free: 149.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.307, allocations: 0.9688 kB / 1.45 GB, free: 149.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/1.307, allocations: 0.7318 MB / 1.451 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/1.308, allocations: 181.4 kB / 1.451 GB, free: 148.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/1.31, allocations: 1.219 MB / 1.452 GB, free: 148.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.31, allocations: 0.9174 MB / 1.453 GB, free: 147.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003532/1.311, allocations: 110.2 kB / 1.453 GB, free: 147.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/1.311, allocations: 38.12 kB / 1.453 GB, free: 147.3 MB / 0.9011 GB Notification: Performance of SimCode: time 4.71e-07/1.311, allocations: 0 / 1.453 GB, free: 147.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.01427/1.325, allocations: 7.05 MB / 1.46 GB, free: 144.6 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches