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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 104.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 183 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 64.12 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9318/0.9334, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007457/0.941, allocations: 4.859 MB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004805/0.9458, allocations: 2.455 MB / 1.216 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007126/0.9466, allocations: 23.81 kB / 1.216 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.9482, allocations: 398 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.9497, allocations: 445.6 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.9509, allocations: 370.8 kB / 1.217 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.9529, allocations: 0.9096 MB / 1.218 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008518/0.9537, allocations: 350.5 kB / 1.218 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008528/0.9546, allocations: 350.6 kB / 1.218 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.9553, allocations: 346.5 kB / 1.219 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.9555, allocations: 40 kB / 1.219 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009773/0.9565, allocations: 399.1 kB / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.9568, allocations: 187.4 kB / 1.219 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.9573, allocations: 322.2 kB / 1.22 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.9588, allocations: 0.8854 MB / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9588, allocations: 0 / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9588, allocations: 0 / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.094e-05/0.9589, allocations: 0 / 1.22 GB, free: 1.328 MB / 0.9356 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.001902/0.9608, allocations: 0.9347 MB / 1.221 GB, free: 348 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9609, allocations: 8.031 kB / 1.221 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.9623, allocations: 207.8 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.9633, allocations: 0.5335 MB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.9633, allocations: 37.36 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.9634, allocations: 44.28 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.9646, allocations: 0.8486 MB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.9647, allocations: 11.94 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.9647, allocations: 23.98 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.426e-05/0.9648, allocations: 60.95 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.9658, allocations: 0.5695 MB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.9705, allocations: 5.639 MB / 1.229 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.9712, allocations: 450.3 kB / 1.23 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.9715, allocations: 236.7 kB / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.9715, allocations: 0.5312 kB / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.9716, allocations: 42.55 kB / 1.23 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 2.584e-06/0.9716, allocations: 0 / 1.23 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002685/0.9743, allocations: 1.501 MB / 1.231 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9743, allocations: 55.69 kB / 1.231 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005513/0.9749, allocations: 0.495 MB / 1.232 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.9749, allocations: 29.7 kB / 1.232 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.9752, allocations: 358.8 kB / 1.232 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.9753, allocations: 118.3 kB / 1.232 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.9754, allocations: 114.1 kB / 1.232 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.9756, allocations: 358.8 kB / 1.233 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.9759, allocations: 201.2 kB / 1.233 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.9764, allocations: 451.3 kB / 1.233 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.9772, allocations: 0.6877 MB / 1.234 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.9772, allocations: 4 kB / 1.234 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001367/0.9786, allocations: 0.8054 MB / 1.235 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.9786, allocations: 15.98 kB / 1.235 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.9787, allocations: 8 kB / 1.235 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.9792, allocations: 156.4 kB / 1.235 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.9797, allocations: 119.8 kB / 1.235 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.9834, allocations: 4.34 MB / 1.239 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.9839, allocations: 35.97 kB / 1.239 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.9839, allocations: 35.98 kB / 1.239 GB, free: 12.36 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.9843, allocations: 217.5 kB / 1.24 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.9844, allocations: 59.25 kB / 1.24 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.9855, allocations: 0.601 MB / 1.24 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9855, allocations: 4 kB / 1.24 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9855, allocations: 7.984 kB / 1.24 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9855, allocations: 0 / 1.24 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.9874, allocations: 1.253 MB / 1.241 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9875, allocations: 3.938 kB / 1.241 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.9877, allocations: 55.89 kB / 1.242 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.9882, allocations: 144.3 kB / 1.242 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.9882, allocations: 15.94 kB / 1.242 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.9916, allocations: 4.332 MB / 1.246 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.9917, allocations: 7.969 kB / 1.246 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.9927, allocations: 0.7078 MB / 1.247 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.993, allocations: 168.3 kB / 1.247 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.993, allocations: 8 kB / 1.247 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.9933, allocations: 31.91 kB / 1.247 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.9934, allocations: 31.91 kB / 1.247 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.9935, allocations: 15.94 kB / 1.247 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003904/0.9939, allocations: 330.8 kB / 1.247 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9939, allocations: 0 / 1.247 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007176/0.9946, allocations: 140 kB / 1.247 GB, free: 3.617 MB / 0.9669 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.9948, allocations: 113.4 kB / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.9963, allocations: 1.043 MB / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.9963, allocations: 1.062 kB / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008422/0.9972, allocations: 0.7346 MB / 1.249 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.9982, allocations: 206.2 kB / 1.249 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1, allocations: 1.074 MB / 1.25 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/1.001, allocations: 0.9058 MB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/1.001, allocations: 43.44 kB / 1.251 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/1.001, allocations: 0 / 1.251 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of Templates: time 0.02338/1.024, allocations: 18.04 MB / 1.269 GB, free: 13.25 MB / 0.9981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches