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.0008/0.0008001, allocations: 92 kB / 16.02 MB, free: 80 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.0009639/0.0009638, allocations: 185.9 kB / 16.92 MB, free: 6.922 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 443.2 MB / 0.7181 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004488, allocations: 14.19 kB / 0.8801 GB, free: 42.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.319, allocations: 155.2 MB / 1.032 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005953/0.325, allocations: 4.854 MB / 1.036 GB, free: 15.89 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.3276, allocations: 1.656 MB / 1.038 GB, free: 14.22 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.3278, allocations: 12 kB / 1.038 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3281, allocations: 103.3 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.3286, allocations: 239.2 kB / 1.038 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.3291, allocations: 211.7 kB / 1.039 GB, free: 13.67 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002337/0.3315, allocations: 2.612 MB / 1.041 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004454/0.3359, allocations: 3.13 MB / 1.044 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.337, allocations: 0.51 MB / 1.045 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.338, allocations: 0.7906 MB / 1.045 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.3382, allocations: 84 kB / 1.045 GB, free: 6.484 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.3387, allocations: 231.8 kB / 1.046 GB, free: 6.258 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005682/0.3393, allocations: 0.612 MB / 1.046 GB, free: 5.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000576/0.3399, allocations: 0.5812 MB / 1.047 GB, free: 5.055 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.3417, allocations: 2.26 MB / 1.049 GB, free: 2.789 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3417, allocations: 0 / 1.049 GB, free: 2.789 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3417, allocations: 4 kB / 1.049 GB, free: 2.785 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.279e-05/0.3418, allocations: 0 / 1.049 GB, free: 2.785 MB / 0.795 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.002115/0.3439, allocations: 1.144 MB / 1.05 GB, free: 1.59 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3439, allocations: 11.98 kB / 1.05 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.3455, allocations: 307.3 kB / 1.051 GB, free: 1.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3466, allocations: 0.7189 MB / 1.051 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.3467, allocations: 90.88 kB / 1.051 GB, free: 440 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.3469, allocations: 116.4 kB / 1.051 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.3503, allocations: 2.141 MB / 1.053 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.3504, allocations: 0 / 1.053 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.3505, allocations: 51.98 kB / 1.054 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/0.3506, allocations: 62.06 kB / 1.054 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.3535, allocations: 1.87 MB / 1.055 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/0.3626, allocations: 7.744 MB / 1.063 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3628, allocations: 134.3 kB / 1.063 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.3629, allocations: 75.52 kB / 1.063 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.363, allocations: 89.09 kB / 1.063 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.363, allocations: 46.44 kB / 1.063 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.3631, allocations: 0 / 1.063 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000549/0.3636, allocations: 268.8 kB / 1.064 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3637, allocations: 132.5 kB / 1.064 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3648, allocations: 0.9088 MB / 1.065 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3648, allocations: 29.7 kB / 1.065 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.3653, allocations: 0.7663 MB / 1.065 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.3654, allocations: 55.53 kB / 1.065 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3655, allocations: 101.7 kB / 1.066 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3657, allocations: 366.8 kB / 1.066 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.3662, allocations: 426.3 kB / 1.066 GB, free: 264 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.3673, allocations: 1.165 MB / 1.067 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.3689, allocations: 1.601 MB / 1.069 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.369, allocations: 11.94 kB / 1.069 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002155/0.3711, allocations: 1.539 MB / 1.07 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.3712, allocations: 16 kB / 1.071 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.3712, allocations: 31.94 kB / 1.071 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/0.3713, allocations: 36 kB / 1.071 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.3721, allocations: 287.4 kB / 1.071 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.264e-05/0.3721, allocations: 52.36 kB / 1.071 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.3729, allocations: 190.3 kB / 1.071 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.972e-05/0.373, allocations: 79.98 kB / 1.071 GB, free: 10.51 MB / 0.8262 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.0008165/0.3739, allocations: 0.6297 MB / 1.072 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.374, allocations: 59.34 kB / 1.072 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.3743, allocations: 133.7 kB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3743, allocations: 4 kB / 1.072 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3743, allocations: 0 / 1.072 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3743, allocations: 0 / 1.072 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.3754, allocations: 0.7783 MB / 1.073 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3754, allocations: 0 / 1.073 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3754, allocations: 11.92 kB / 1.073 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3755, allocations: 0 / 1.073 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3755, allocations: 4 kB / 1.073 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3755, allocations: 4 kB / 1.073 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3755, allocations: 0 / 1.073 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.3758, allocations: 369.3 kB / 1.073 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.3759, allocations: 152.4 kB / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.376, allocations: 0 / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.3763, allocations: 15.98 kB / 1.073 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.3763, allocations: 11.94 kB / 1.073 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3763, allocations: 0 / 1.073 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007455/0.3771, allocations: 0.6395 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3771, allocations: 0 / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001073/0.3781, allocations: 283 kB / 1.074 GB, free: 7.316 MB / 0.8262 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.0001611/0.3783, allocations: 99.25 kB / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.3793, allocations: 0.7167 MB / 1.075 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3793, allocations: 0 / 1.075 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.3794, allocations: 23.98 kB / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.38, allocations: 43.69 kB / 1.075 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.3832, allocations: 2.311 MB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.3844, allocations: 1.312 MB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3845, allocations: 63.42 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of SimCode: time 1.232e-06/0.3845, allocations: 0 / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.01928/0.4038, allocations: 12.06 MB / 1.09 GB, free: 6.625 MB / 0.8419 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/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