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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.008186/0.008187, allocations: 101 kB / 15.88 MB, free: 5.863 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.002067/0.002067, allocations: 191 kB / 16.79 MB, free: 5.805 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 461.8 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 61.58 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3516, allocations: 157.4 MB / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007078/0.3587, allocations: 4.318 MB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004262/0.363, allocations: 2.381 MB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.3636, allocations: 15.88 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.365, allocations: 342.7 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3662, allocations: 350.4 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.3672, allocations: 294.2 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.3682, allocations: 0.8699 MB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000639/0.3689, allocations: 257.9 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.3694, allocations: 223 kB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.3699, allocations: 274.8 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.37, allocations: 24 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3711, allocations: 0.5301 MB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.3713, allocations: 131.5 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.3716, allocations: 226.8 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008529/0.3725, allocations: 0.5575 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3725, allocations: 0 / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3725, allocations: 0 / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.3725, allocations: 0 / 1.063 GB, free: 13.39 MB / 0.8262 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.001683/0.3742, allocations: 0.7871 MB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.3743, allocations: 15.97 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.3759, allocations: 184.1 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.3766, allocations: 404.5 kB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3767, allocations: 25.31 kB / 1.065 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.3767, allocations: 36.36 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.3778, allocations: 0.6471 MB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.3778, allocations: 7.938 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.3779, allocations: 16 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.371e-05/0.378, allocations: 51.97 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.3788, allocations: 499.3 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.3823, allocations: 3.79 MB / 1.07 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.384, allocations: 0.64 MB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.3843, allocations: 178.5 kB / 1.07 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3843, allocations: 4 kB / 1.07 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3844, allocations: 38.5 kB / 1.07 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.955e-06/0.3844, allocations: 0 / 1.07 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002371/0.3868, allocations: 1.276 MB / 1.072 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.3868, allocations: 110.8 kB / 1.072 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.3873, allocations: 401.8 kB / 1.072 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.3873, allocations: 29.7 kB / 1.072 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3875, allocations: 283.4 kB / 1.072 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.3876, allocations: 118.4 kB / 1.073 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3878, allocations: 98.06 kB / 1.073 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3879, allocations: 354.8 kB / 1.073 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.3882, allocations: 181 kB / 1.073 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.3886, allocations: 371.3 kB / 1.073 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000824/0.3894, allocations: 0.5912 MB / 1.074 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3894, allocations: 7.938 kB / 1.074 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001194/0.3906, allocations: 0.6669 MB / 1.075 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3906, allocations: 11.94 kB / 1.075 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3907, allocations: 8 kB / 1.075 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.3911, allocations: 99.09 kB / 1.075 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.3915, allocations: 113.2 kB / 1.075 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.3948, allocations: 4.028 MB / 1.079 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.3952, allocations: 36.05 kB / 1.079 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.3953, allocations: 27.98 kB / 1.079 GB, free: 12.11 MB / 0.8419 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.0002946/0.3956, allocations: 194.5 kB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3957, allocations: 47.44 kB / 1.079 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.3967, allocations: 0.5266 MB / 1.08 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3967, allocations: 4 kB / 1.08 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3967, allocations: 4 kB / 1.08 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3967, allocations: 0 / 1.08 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.3986, allocations: 1.287 MB / 1.081 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3986, allocations: 0 / 1.081 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3988, allocations: 71.83 kB / 1.081 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.3991, allocations: 90.73 kB / 1.081 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.3992, allocations: 8 kB / 1.081 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.4022, allocations: 4.032 MB / 1.085 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4023, allocations: 3.938 kB / 1.085 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.4032, allocations: 0.7738 MB / 1.086 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.4035, allocations: 156.4 kB / 1.086 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.4036, allocations: 11.94 kB / 1.086 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.4039, allocations: 27.97 kB / 1.086 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.404, allocations: 27.97 kB / 1.086 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.404, allocations: 12 kB / 1.086 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003765/0.4044, allocations: 279.1 kB / 1.086 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4044, allocations: 0 / 1.086 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008065/0.4052, allocations: 120 kB / 1.086 GB, free: 3.844 MB / 0.8419 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.0001626/0.4054, allocations: 123 kB / 1.087 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.4068, allocations: 0.7976 MB / 1.087 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4068, allocations: 0 / 1.087 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.4076, allocations: 0.548 MB / 1.088 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/0.4086, allocations: 126.6 kB / 1.088 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4103, allocations: 1.122 MB / 1.089 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.4108, allocations: 0.8663 MB / 1.09 GB, free: 88 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4109, allocations: 43.42 kB / 1.09 GB, free: 44 kB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.4109, allocations: 0 / 1.09 GB, free: 44 kB / 0.8419 GB Notification: Performance of Templates: time 0.01516/0.4261, allocations: 11.08 MB / 1.101 GB, free: 4.984 MB / 0.8575 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/jenkins1/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