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.001529/0.001529, allocations: 108 kB / 15.6 MB, free: 132 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.001757/0.001757, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.67 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3632, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005473/0.3688, allocations: 4.294 MB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.3724, allocations: 2.381 MB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.3726, allocations: 15.88 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.3738, allocations: 378.2 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007899/0.3746, allocations: 362.2 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.3753, allocations: 319.2 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.3759, allocations: 0.6789 MB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.3764, allocations: 258 kB / 1.077 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.3767, allocations: 251 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.377, allocations: 274.9 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.3771, allocations: 28 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006812/0.3778, allocations: 431 kB / 1.078 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3779, allocations: 143.6 kB / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3782, allocations: 238.6 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007348/0.3789, allocations: 0.7284 MB / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3789, allocations: 0 / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3789, allocations: 0 / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3789, allocations: 7.938 kB / 1.079 GB, free: 15.63 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.001061/0.38, allocations: 0.7888 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.38, allocations: 8.031 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3813, allocations: 180.1 kB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.3818, allocations: 408.5 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3819, allocations: 25.38 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.3819, allocations: 32.36 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.3827, allocations: 0.6627 MB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.3828, allocations: 4 kB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.3828, allocations: 12 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.297e-05/0.3829, allocations: 55.89 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.3836, allocations: 0.4891 MB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.3865, allocations: 3.782 MB / 1.085 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.3882, allocations: 0.6367 MB / 1.086 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.3884, allocations: 186.4 kB / 1.086 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3884, allocations: 3.984 kB / 1.086 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3885, allocations: 38.56 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.3885, allocations: 0 / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002044/0.3905, allocations: 1.281 MB / 1.087 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.3906, allocations: 106.8 kB / 1.087 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.391, allocations: 393.8 kB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.391, allocations: 37.7 kB / 1.088 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3912, allocations: 271.5 kB / 1.088 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.3913, allocations: 126.3 kB / 1.088 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3914, allocations: 102.1 kB / 1.088 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3915, allocations: 354.8 kB / 1.088 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3918, allocations: 177 kB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.3921, allocations: 371.2 kB / 1.089 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.3927, allocations: 0.5952 MB / 1.09 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3928, allocations: 7.938 kB / 1.09 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009558/0.3937, allocations: 0.6673 MB / 1.09 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3937, allocations: 13.88 kB / 1.09 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3938, allocations: 4 kB / 1.09 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.3941, allocations: 106.4 kB / 1.09 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3945, allocations: 111.8 kB / 1.09 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.3975, allocations: 4.355 MB / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.3978, allocations: 23.98 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3978, allocations: 27.98 kB / 1.095 GB, free: 14.01 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.0001986/0.398, allocations: 197.6 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3981, allocations: 43.44 kB / 1.095 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.399, allocations: 0.5269 MB / 1.095 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.399, allocations: 4 kB / 1.095 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.399, allocations: 4 kB / 1.095 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.399, allocations: 0 / 1.095 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.4006, allocations: 1.291 MB / 1.097 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4006, allocations: 4.281 kB / 1.097 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.4008, allocations: 63.89 kB / 1.097 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/0.4011, allocations: 86.52 kB / 1.097 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.4011, allocations: 8 kB / 1.097 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.4041, allocations: 4.348 MB / 1.101 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4041, allocations: 0 / 1.101 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.4049, allocations: 0.7787 MB / 1.102 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.4051, allocations: 152.5 kB / 1.102 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.4051, allocations: 12 kB / 1.102 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4054, allocations: 23.97 kB / 1.102 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.4055, allocations: 31.84 kB / 1.102 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.4055, allocations: 16 kB / 1.102 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002654/0.4058, allocations: 275.1 kB / 1.102 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4058, allocations: 0 / 1.102 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006293/0.4064, allocations: 124 kB / 1.102 GB, free: 5.41 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.0001358/0.4066, allocations: 115.7 kB / 1.103 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.4077, allocations: 0.8208 MB / 1.103 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4078, allocations: 0 / 1.103 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.4084, allocations: 0.5518 MB / 1.104 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/0.4093, allocations: 141.6 kB / 1.104 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.4105, allocations: 0.9127 MB / 1.105 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4109, allocations: 0.8547 MB / 1.106 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.4112, allocations: 104.5 kB / 1.106 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.4113, allocations: 43.42 kB / 1.106 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.4113, allocations: 0 / 1.106 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.01051/0.4218, allocations: 5.763 MB / 1.112 GB, free: 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