Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105 kB / 16.41 MB, free: 6.465 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.001305/0.001305, allocations: 187 kB / 17.34 MB, free: 5.719 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.8311, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005005/0.8361, allocations: 4.3 MB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.8396, allocations: 2.365 MB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.8399, allocations: 16.84 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.841, allocations: 375.4 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.8421, allocations: 389.5 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.8432, allocations: 311.9 kB / 1.096 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.8442, allocations: 0.69 MB / 1.097 GB, free: 292 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.8446, allocations: 259.7 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.845, allocations: 257.8 kB / 1.097 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.8454, allocations: 272.2 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.8455, allocations: 30.5 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.8465, allocations: 431.9 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.8467, allocations: 144.8 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.8469, allocations: 228.7 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.848, allocations: 0.7398 MB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.848, allocations: 0 / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.904e-06/0.848, allocations: 1.156 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.848, allocations: 0 / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00117/0.8492, allocations: 0.7855 MB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8492, allocations: 10.06 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.8506, allocations: 187.4 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.8513, allocations: 441 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.8513, allocations: 27.78 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.8514, allocations: 33.91 kB / 1.101 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000982/0.8524, allocations: 0.6565 MB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.8524, allocations: 6.812 kB / 1.101 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.8525, allocations: 21.36 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.442e-05/0.8526, allocations: 53.98 kB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.8534, allocations: 0.4917 MB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.8569, allocations: 3.78 MB / 1.105 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.8587, allocations: 0.6268 MB / 1.106 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.8589, allocations: 178.6 kB / 1.106 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.859, allocations: 8.531 kB / 1.106 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.859, allocations: 40.48 kB / 1.106 GB, free: 10 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.859, allocations: 1.312 kB / 1.106 GB, free: 10 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002292/0.8613, allocations: 1.276 MB / 1.107 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.8614, allocations: 107.3 kB / 1.108 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.8618, allocations: 394.9 kB / 1.108 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.8619, allocations: 32.14 kB / 1.108 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.8621, allocations: 287.3 kB / 1.108 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.8622, allocations: 120.9 kB / 1.108 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.8623, allocations: 95.22 kB / 1.108 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8625, allocations: 359.4 kB / 1.109 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.8627, allocations: 174.3 kB / 1.109 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.8631, allocations: 377.6 kB / 1.109 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.8638, allocations: 0.5931 MB / 1.11 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8638, allocations: 6.062 kB / 1.11 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001105/0.865, allocations: 0.6723 MB / 1.111 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.865, allocations: 8.469 kB / 1.111 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.865, allocations: 7.219 kB / 1.111 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.8654, allocations: 106.6 kB / 1.111 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.8658, allocations: 113.8 kB / 1.111 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.8693, allocations: 4.335 MB / 1.115 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.8698, allocations: 29.09 kB / 1.115 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.8699, allocations: 26.52 kB / 1.115 GB, free: 2.715 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002748/0.8702, allocations: 202.5 kB / 1.115 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.8703, allocations: 52.86 kB / 1.115 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009373/0.8712, allocations: 0.5131 MB / 1.116 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.8713, allocations: 5.266 kB / 1.116 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8713, allocations: 10.12 kB / 1.116 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.8713, allocations: 2.594 kB / 1.116 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.8733, allocations: 1.28 MB / 1.117 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.8733, allocations: 2.594 kB / 1.117 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.8736, allocations: 64.62 kB / 1.117 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.8739, allocations: 86.08 kB / 1.117 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.8739, allocations: 20.78 kB / 1.117 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.8771, allocations: 4.333 MB / 1.122 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.8772, allocations: 8.469 kB / 1.122 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.8782, allocations: 0.7758 MB / 1.122 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.8785, allocations: 156.1 kB / 1.122 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.8785, allocations: 14.34 kB / 1.122 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.8788, allocations: 21.84 kB / 1.122 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.8789, allocations: 35.08 kB / 1.123 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.879, allocations: 9.469 kB / 1.123 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003383/0.8793, allocations: 285.7 kB / 1.123 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8793, allocations: 0 / 1.123 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007732/0.8801, allocations: 121.3 kB / 1.123 GB, free: 12.27 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001481/0.8802, allocations: 113.6 kB / 1.123 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.8816, allocations: 0.8082 MB / 1.124 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8816, allocations: 1 kB / 1.124 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007232/0.8823, allocations: 0.5451 MB / 1.124 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.8832, allocations: 133.2 kB / 1.124 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.8848, allocations: 0.9482 MB / 1.125 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.8853, allocations: 0.8607 MB / 1.126 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.8854, allocations: 43.58 kB / 1.126 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of SimCode: time 7.62e-07/0.8854, allocations: 3.938 kB / 1.126 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.01916/0.9046, allocations: 11.14 MB / 1.137 GB, free: 9.062 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches