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 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.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.001482/0.001482, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001513/0.001513, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.658/2.658, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 77.05 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7438, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007429/0.7513, allocations: 5.207 MB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.7544, allocations: 1.686 MB / 1.09 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.7547, allocations: 14.31 kB / 1.09 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.7563, allocations: 0.5259 MB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.7569, allocations: 241.4 kB / 1.09 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.7576, allocations: 236 kB / 1.091 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.7595, allocations: 1.672 MB / 1.092 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.7628, allocations: 2.557 MB / 1.095 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.7642, allocations: 0.7665 MB / 1.096 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.7656, allocations: 0.9335 MB / 1.096 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.7659, allocations: 188.8 kB / 1.097 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.7667, allocations: 315.7 kB / 1.097 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009269/0.7676, allocations: 0.7475 MB / 1.098 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.7686, allocations: 0.7107 MB / 1.098 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.7721, allocations: 2.641 MB / 1.101 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7721, allocations: 5.625 kB / 1.101 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7721, allocations: 0 / 1.101 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.976e-05/0.7722, allocations: 0 / 1.101 GB, free: 8.445 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003628/0.7758, allocations: 1.372 MB / 1.102 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.7759, allocations: 9.703 kB / 1.102 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.7776, allocations: 301.2 kB / 1.103 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.7789, allocations: 0.7166 MB / 1.103 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.779, allocations: 93.22 kB / 1.103 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.7793, allocations: 116.5 kB / 1.103 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.7837, allocations: 2.143 MB / 1.106 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.7837, allocations: 1.094 kB / 1.106 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.7839, allocations: 47.06 kB / 1.106 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.027e-05/0.784, allocations: 57.7 kB / 1.106 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.7874, allocations: 1.871 MB / 1.107 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.7977, allocations: 7.741 MB / 1.115 GB, free: 136 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.7979, allocations: 133.8 kB / 1.115 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.7981, allocations: 77.02 kB / 1.115 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.7982, allocations: 87.59 kB / 1.115 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.7983, allocations: 44.16 kB / 1.115 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.7983, allocations: 1 kB / 1.115 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006199/0.7989, allocations: 269.4 kB / 1.116 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.799, allocations: 135.4 kB / 1.116 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.8003, allocations: 0.9133 MB / 1.117 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.8003, allocations: 30.8 kB / 1.117 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.8009, allocations: 0.7605 MB / 1.117 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.801, allocations: 56.97 kB / 1.117 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.8013, allocations: 266.4 kB / 1.118 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.8016, allocations: 371.1 kB / 1.118 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.8022, allocations: 425.6 kB / 1.118 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.8033, allocations: 1.167 MB / 1.12 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.8051, allocations: 1.597 MB / 1.121 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.8051, allocations: 10.69 kB / 1.121 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002286/0.8074, allocations: 1.543 MB / 1.123 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.8075, allocations: 22.5 kB / 1.123 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.8075, allocations: 26.69 kB / 1.123 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-05/0.8076, allocations: 35.47 kB / 1.123 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/0.8084, allocations: 282.1 kB / 1.123 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-05/0.8084, allocations: 55.59 kB / 1.123 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/0.8093, allocations: 201.4 kB / 1.123 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/0.8094, allocations: 70.56 kB / 1.123 GB, free: 10.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008632/0.8103, allocations: 0.6353 MB / 1.124 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.8104, allocations: 57.22 kB / 1.124 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.8107, allocations: 133.3 kB / 1.124 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8107, allocations: 1.281 kB / 1.124 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8107, allocations: 0 / 1.124 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8107, allocations: 1.406 kB / 1.124 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.812, allocations: 0.7755 MB / 1.125 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.812, allocations: 1.125 kB / 1.125 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.812, allocations: 9.188 kB / 1.125 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.8121, allocations: 9.344 kB / 1.125 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.8121, allocations: 0 / 1.125 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8121, allocations: 1.469 kB / 1.125 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8121, allocations: 5.188 kB / 1.125 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.8124, allocations: 364.6 kB / 1.125 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.8126, allocations: 131.8 kB / 1.125 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.8126, allocations: 9.375 kB / 1.125 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.8129, allocations: 15.16 kB / 1.125 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.8129, allocations: 5.062 kB / 1.125 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.8129, allocations: 5.094 kB / 1.125 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008035/0.8138, allocations: 0.6414 MB / 1.126 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8138, allocations: 0 / 1.126 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001176/0.8149, allocations: 277.9 kB / 1.126 GB, free: 8.059 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.8151, allocations: 104.1 kB / 1.126 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.8162, allocations: 0.7246 MB / 1.127 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8162, allocations: 0 / 1.127 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.8162, allocations: 20.86 kB / 1.127 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.8167, allocations: 40.78 kB / 1.127 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.8197, allocations: 1.874 MB / 1.129 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.8209, allocations: 1.316 MB / 1.13 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.821, allocations: 57.73 kB / 1.13 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.821, allocations: 0 / 1.13 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of Templates: time 0.02231/0.8433, allocations: 12.17 MB / 1.142 GB, free: 15.23 MB / 0.8731 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=400 -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/jenkins1/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