Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001448/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001768/0.001769, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.71/2.71, allocations: 472.6 MB / 0.7448 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.44 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3277, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00613/0.3338, allocations: 4.314 MB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.3378, allocations: 2.365 MB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.3383, allocations: 15.88 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.3397, allocations: 345.9 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.341, allocations: 350.5 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.342, allocations: 291.4 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.3432, allocations: 0.6827 MB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.3438, allocations: 286 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.3443, allocations: 255 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.3448, allocations: 274.9 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.3449, allocations: 31.94 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008024/0.3457, allocations: 431 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3459, allocations: 139.6 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.3462, allocations: 238.6 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.3471, allocations: 0.7672 MB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3471, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3471, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3471, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 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.001195/0.3484, allocations: 0.7871 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3484, allocations: 12.03 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.3497, allocations: 180.1 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.3502, allocations: 408.5 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3503, allocations: 25.36 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.3503, allocations: 40.36 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/0.3512, allocations: 0.6549 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3513, allocations: 4 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.3513, allocations: 15.98 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/0.3514, allocations: 55.89 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.3521, allocations: 499.3 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.3552, allocations: 3.782 MB / 1.084 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.3569, allocations: 0.6328 MB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.3571, allocations: 178.4 kB / 1.085 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.3572, allocations: 8 kB / 1.085 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3572, allocations: 46.48 kB / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/0.3572, allocations: 0 / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002205/0.3594, allocations: 1.28 MB / 1.087 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.3595, allocations: 106.8 kB / 1.087 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.3599, allocations: 397.8 kB / 1.087 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3599, allocations: 29.7 kB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3601, allocations: 285.1 kB / 1.087 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/0.3602, allocations: 126.2 kB / 1.087 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3603, allocations: 98.16 kB / 1.088 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3605, allocations: 354.8 kB / 1.088 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.3607, allocations: 177 kB / 1.088 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.3611, allocations: 371.2 kB / 1.088 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.3618, allocations: 0.5832 MB / 1.089 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3618, allocations: 7.938 kB / 1.089 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009939/0.3628, allocations: 0.6753 MB / 1.09 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3628, allocations: 9.406 kB / 1.09 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3628, allocations: 12.03 kB / 1.09 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.3632, allocations: 98.38 kB / 1.09 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.3636, allocations: 111.8 kB / 1.09 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.3667, allocations: 4.352 MB / 1.094 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.3671, allocations: 23.98 kB / 1.094 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.3671, allocations: 31.97 kB / 1.094 GB, free: 14.33 MB / 0.8575 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.0002399/0.3674, allocations: 205.6 kB / 1.094 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3675, allocations: 47.44 kB / 1.094 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.3684, allocations: 0.5225 MB / 1.095 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3684, allocations: 4 kB / 1.095 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3684, allocations: 0 / 1.095 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3684, allocations: 0 / 1.095 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.3701, allocations: 1.287 MB / 1.096 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3701, allocations: 4 kB / 1.096 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.3703, allocations: 64.17 kB / 1.096 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.3706, allocations: 86.52 kB / 1.096 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.3706, allocations: 8 kB / 1.096 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.3736, allocations: 4.344 MB / 1.101 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3737, allocations: 4 kB / 1.101 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.3745, allocations: 0.7864 MB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.3747, allocations: 152.5 kB / 1.102 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.3748, allocations: 8 kB / 1.102 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.3751, allocations: 31.97 kB / 1.102 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.3752, allocations: 31.84 kB / 1.102 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3752, allocations: 12 kB / 1.102 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002844/0.3755, allocations: 279.1 kB / 1.102 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3755, allocations: 288 / 1.102 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007152/0.3762, allocations: 120 kB / 1.102 GB, free: 5.723 MB / 0.8575 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.0001478/0.3764, allocations: 115.2 kB / 1.102 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.3777, allocations: 0.8218 MB / 1.103 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3777, allocations: 3.938 kB / 1.103 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.3784, allocations: 0.5513 MB / 1.103 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.3793, allocations: 138.8 kB / 1.104 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.3809, allocations: 1.089 MB / 1.105 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.3814, allocations: 0.8625 MB / 1.105 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003057/0.3817, allocations: 100.5 kB / 1.106 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3818, allocations: 39.42 kB / 1.106 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of SimCode: time 9.82e-07/0.3818, allocations: 4 kB / 1.106 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of Templates: time 0.01081/0.3926, allocations: 5.763 MB / 1.111 GB, free: 12.12 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches