Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009174, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001098/0.001098, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.89/2.89, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005327, allocations: 9.719 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.412, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.00681/0.4188, allocations: 4.639 MB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.422, allocations: 1.594 MB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/0.4224, allocations: 8 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.4227, allocations: 103.3 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.4234, allocations: 203.2 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.4241, allocations: 159.7 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002456/0.4265, allocations: 1.976 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.4311, allocations: 2.726 MB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.4322, allocations: 0.5295 MB / 1.07 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.4338, allocations: 0.783 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.4341, allocations: 84 kB / 1.071 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.4348, allocations: 167.9 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000908/0.4357, allocations: 0.5965 MB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005522/0.4363, allocations: 249.1 kB / 1.072 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.4388, allocations: 2.26 MB / 1.074 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4389, allocations: 0 / 1.074 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4389, allocations: 3.938 kB / 1.074 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.44e-05/0.439, allocations: 4 kB / 1.074 GB, free: 5.227 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003087/0.4421, allocations: 1.152 MB / 1.075 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4421, allocations: 12.03 kB / 1.075 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.4439, allocations: 298.5 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.4456, allocations: 0.7162 MB / 1.076 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.4458, allocations: 94.48 kB / 1.076 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.4461, allocations: 116 kB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004629/0.4508, allocations: 2.121 MB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.4508, allocations: 4 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.451, allocations: 51.94 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/0.4511, allocations: 58.06 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/0.4545, allocations: 1.854 MB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.4652, allocations: 7.745 MB / 1.088 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4654, allocations: 134.3 kB / 1.088 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4655, allocations: 75.52 kB / 1.088 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.4656, allocations: 89.09 kB / 1.088 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.4657, allocations: 38.56 kB / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 3.526e-06/0.4657, allocations: 0 / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0005743/0.4663, allocations: 272.8 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.4665, allocations: 132.9 kB / 1.088 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.468, allocations: 0.9083 MB / 1.089 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.468, allocations: 25.7 kB / 1.089 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008587/0.4689, allocations: 0.7663 MB / 1.09 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.469, allocations: 55.53 kB / 1.09 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.469, allocations: 20 kB / 1.09 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002481/0.4693, allocations: 370.8 kB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.4703, allocations: 418.3 kB / 1.091 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.4721, allocations: 1.169 MB / 1.092 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.4735, allocations: 0.7198 MB / 1.093 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/0.4735, allocations: 8 kB / 1.093 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002866/0.4764, allocations: 1.543 MB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.4765, allocations: 18.19 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.579e-05/0.4765, allocations: 28 kB / 1.094 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.669e-05/0.4766, allocations: 36 kB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009078/0.4775, allocations: 283.5 kB / 1.094 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.018e-05/0.4776, allocations: 55.78 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.4787, allocations: 202.2 kB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.4788, allocations: 68 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.48, allocations: 0.639 MB / 1.095 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.4802, allocations: 55.39 kB / 1.095 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.4806, allocations: 133.7 kB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4806, allocations: 3.938 kB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4806, allocations: 8 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4806, allocations: 0 / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.4825, allocations: 0.7705 MB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4825, allocations: 3.984 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.4825, allocations: 8 kB / 1.096 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4825, allocations: 7.891 kB / 1.096 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.4826, allocations: 0 / 1.096 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4826, allocations: 0 / 1.096 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4826, allocations: 4 kB / 1.096 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.483, allocations: 369.3 kB / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.4833, allocations: 156.4 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.4834, allocations: 3.953 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.4836, allocations: 12.23 kB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.4837, allocations: 7.984 kB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4837, allocations: 8 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001019/0.4847, allocations: 0.6356 MB / 1.098 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4847, allocations: 4 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001334/0.4861, allocations: 275 kB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001855/0.4863, allocations: 103.2 kB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.4876, allocations: 0.7164 MB / 1.099 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4876, allocations: 0 / 1.099 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.4876, allocations: 15.98 kB / 1.099 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.4882, allocations: 39.56 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.4916, allocations: 1.993 MB / 1.101 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.493, allocations: 1.28 MB / 1.102 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000816/0.4938, allocations: 361.2 kB / 1.102 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.4939, allocations: 47.44 kB / 1.102 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/0.4939, allocations: 0 / 1.102 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of Templates: time 0.01225/0.5062, allocations: 4.614 MB / 1.107 GB, free: 1.91 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches