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.001624/0.001624, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 192 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 482.6 MB / 0.7548 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 72.67 kB / 0.9241 GB, free: 29.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3228, allocations: 162.3 MB / 1.083 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006197/0.3291, allocations: 4.281 MB / 1.087 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003781/0.3329, allocations: 2.389 MB / 1.089 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.3331, allocations: 15.88 kB / 1.089 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.3343, allocations: 377.5 kB / 1.089 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.3351, allocations: 370.2 kB / 1.09 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.3358, allocations: 315.2 kB / 1.09 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.3365, allocations: 0.6828 MB / 1.091 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.3369, allocations: 258 kB / 1.091 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.3373, allocations: 251 kB / 1.091 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.3376, allocations: 266.9 kB / 1.092 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.3377, allocations: 35.94 kB / 1.092 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007077/0.3384, allocations: 431 kB / 1.092 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3386, allocations: 143.6 kB / 1.092 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.3388, allocations: 238.6 kB / 1.092 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008166/0.3396, allocations: 0.7245 MB / 1.093 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3397, allocations: 0 / 1.093 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3397, allocations: 0 / 1.093 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3397, allocations: 0 / 1.093 GB, free: 2.242 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.001151/0.3408, allocations: 0.791 MB / 1.094 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3409, allocations: 12.03 kB / 1.094 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.3422, allocations: 184.1 kB / 1.094 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.3427, allocations: 404.5 kB / 1.094 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3428, allocations: 21.38 kB / 1.094 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.3428, allocations: 40.3 kB / 1.094 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.3437, allocations: 0.6588 MB / 1.095 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.3438, allocations: 7.938 kB / 1.095 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.3438, allocations: 16 kB / 1.095 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.132e-05/0.3439, allocations: 51.95 kB / 1.095 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/0.3446, allocations: 499.3 kB / 1.096 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.348, allocations: 3.782 MB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3497, allocations: 0.6322 MB / 1.1 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.35, allocations: 182.4 kB / 1.1 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.35, allocations: 4 kB / 1.1 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3501, allocations: 38.56 kB / 1.1 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.3501, allocations: 0 / 1.1 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002293/0.3524, allocations: 1.273 MB / 1.101 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.3525, allocations: 110.8 kB / 1.102 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.3529, allocations: 401.7 kB / 1.102 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.3529, allocations: 29.7 kB / 1.102 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3531, allocations: 275.8 kB / 1.102 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.3533, allocations: 126.2 kB / 1.102 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3534, allocations: 102.1 kB / 1.102 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3536, allocations: 350.8 kB / 1.103 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.3538, allocations: 181 kB / 1.103 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.3543, allocations: 383.2 kB / 1.103 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.355, allocations: 0.5874 MB / 1.104 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.355, allocations: 7.938 kB / 1.104 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001071/0.3561, allocations: 0.6707 MB / 1.105 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3561, allocations: 8 kB / 1.105 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3561, allocations: 11.94 kB / 1.105 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.3565, allocations: 99.12 kB / 1.105 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.3569, allocations: 111.8 kB / 1.105 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.3605, allocations: 4.344 MB / 1.109 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.3608, allocations: 27.98 kB / 1.109 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.3608, allocations: 36.14 kB / 1.109 GB, free: 0.6094 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.0002312/0.3611, allocations: 197.6 kB / 1.109 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3612, allocations: 47.44 kB / 1.109 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008996/0.3621, allocations: 0.5266 MB / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3621, allocations: 4 kB / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3621, allocations: 0 / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3621, allocations: 0 / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3639, allocations: 1.287 MB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3639, allocations: 4 kB / 1.111 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3642, allocations: 59.89 kB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.3644, allocations: 90.73 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3645, allocations: 16.28 kB / 1.111 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/0.3679, allocations: 4.34 MB / 1.115 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.892e-06/0.368, allocations: 7.938 kB / 1.115 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/0.3689, allocations: 0.7788 MB / 1.116 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.3691, allocations: 148.5 kB / 1.116 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.3691, allocations: 12 kB / 1.116 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.3694, allocations: 23.97 kB / 1.116 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.3695, allocations: 39.84 kB / 1.116 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3695, allocations: 12 kB / 1.116 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002929/0.3698, allocations: 275.1 kB / 1.117 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3698, allocations: 0 / 1.117 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006254/0.3705, allocations: 124 kB / 1.117 GB, free: 8.012 MB / 0.8731 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.0001469/0.3706, allocations: 115.2 kB / 1.117 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.3719, allocations: 0.8251 MB / 1.118 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3719, allocations: 3.938 kB / 1.118 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.3726, allocations: 0.5397 MB / 1.118 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.3735, allocations: 141 kB / 1.118 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3749, allocations: 0.9115 MB / 1.119 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3754, allocations: 0.8586 MB / 1.12 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002668/0.3757, allocations: 100.5 kB / 1.12 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.3758, allocations: 39.42 kB / 1.12 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.3758, allocations: 0 / 1.12 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of Templates: time 0.01122/0.387, allocations: 5.765 MB / 1.126 GB, free: 14.6 MB / 0.8887 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=400 -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