Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001191/0.001191, allocations: 195 kB / 16.14 MB, free: 6.648 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.722, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005896/0.7279, allocations: 5.242 MB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.7302, allocations: 1.679 MB / 0.9558 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.7303, allocations: 10.91 kB / 0.9558 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.7314, allocations: 0.4971 MB / 0.9563 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.7317, allocations: 231 kB / 0.9565 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.7322, allocations: 201.5 kB / 0.9567 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.7341, allocations: 2.623 MB / 0.9593 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.7375, allocations: 2.884 MB / 0.9621 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.7384, allocations: 0.6453 MB / 0.9627 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.7397, allocations: 0.9508 MB / 0.9637 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.7399, allocations: 137 kB / 0.9638 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006137/0.7405, allocations: 297.4 kB / 0.9641 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.7412, allocations: 0.675 MB / 0.9647 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006707/0.7419, allocations: 0.6576 MB / 0.9654 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.7441, allocations: 2.612 MB / 0.9679 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7441, allocations: 0.9688 kB / 0.9679 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7441, allocations: 0 / 0.9679 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.032e-05/0.7441, allocations: 0 / 0.9679 GB, free: 12.64 MB / 0.7325 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.002388/0.7465, allocations: 1.375 MB / 0.9693 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7466, allocations: 10.34 kB / 0.9693 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/0.7469, allocations: 209.8 kB / 0.9695 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.7484, allocations: 303.5 kB / 0.9698 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.7495, allocations: 0.7146 MB / 0.9705 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.7496, allocations: 89.09 kB / 0.9705 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.7498, allocations: 123.5 kB / 0.9707 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.7532, allocations: 2.136 MB / 0.9727 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.7533, allocations: 0 / 0.9727 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.7534, allocations: 51.41 kB / 0.9728 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.7535, allocations: 58.44 kB / 0.9729 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.7561, allocations: 1.868 MB / 0.9747 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007912/0.764, allocations: 7.748 MB / 0.9822 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.7642, allocations: 130.4 kB / 0.9824 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.7643, allocations: 75.52 kB / 0.9824 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/0.7644, allocations: 97.03 kB / 0.9825 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.7644, allocations: 30.56 kB / 0.9826 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.7644, allocations: 0 / 0.9826 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0004716/0.7649, allocations: 273.3 kB / 0.9828 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.7649, allocations: 136.5 kB / 0.983 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/0.7659, allocations: 0.9083 MB / 0.9838 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.766, allocations: 25.7 kB / 0.9839 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.7664, allocations: 0.7663 MB / 0.9846 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.7664, allocations: 55.58 kB / 0.9847 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.7668, allocations: 266.4 kB / 0.9849 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7669, allocations: 374.8 kB / 0.9853 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.7674, allocations: 426.4 kB / 0.9857 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.7684, allocations: 1.169 MB / 0.9868 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.7698, allocations: 1.595 MB / 0.9884 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.7698, allocations: 12 kB / 0.9884 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001945/0.7718, allocations: 1.543 MB / 0.9899 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.7718, allocations: 17.72 kB / 0.9899 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.7719, allocations: 32.12 kB / 0.9899 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/0.7719, allocations: 36 kB / 0.99 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.7726, allocations: 283.4 kB / 0.9903 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/0.7727, allocations: 51.8 kB / 0.9903 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/0.7734, allocations: 198.1 kB / 0.9905 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.7735, allocations: 71.98 kB / 0.9906 GB, free: 5.828 MB / 0.7481 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.0006527/0.7742, allocations: 0.6355 MB / 0.9912 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.7743, allocations: 59.34 kB / 0.9912 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.7746, allocations: 133.7 kB / 0.9914 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7746, allocations: 0 / 0.9914 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7746, allocations: 4 kB / 0.9914 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7746, allocations: 0 / 0.9914 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009461/0.7755, allocations: 0.7783 MB / 0.9921 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7756, allocations: 4 kB / 0.9921 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.7756, allocations: 4 kB / 0.9921 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7756, allocations: 0 / 0.9921 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7756, allocations: 3.984 kB / 0.9921 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.7756, allocations: 4 kB / 0.9921 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7756, allocations: 0 / 0.9921 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.7759, allocations: 381.3 kB / 0.9925 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.776, allocations: 128.5 kB / 0.9926 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.7761, allocations: 11.94 kB / 0.9926 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.7763, allocations: 7.984 kB / 0.9926 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.7764, allocations: 4 kB / 0.9927 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.7764, allocations: 0 / 0.9927 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007101/0.7771, allocations: 0.6473 MB / 0.9933 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7771, allocations: 0 / 0.9933 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009755/0.7781, allocations: 275 kB / 0.9935 GB, free: 2.645 MB / 0.7481 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.0004685/0.7786, allocations: 0.9095 MB / 0.9944 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008407/0.7794, allocations: 0.7089 MB / 0.9951 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7794, allocations: 4 kB / 0.9951 GB, free: 1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.7794, allocations: 23.98 kB / 0.9952 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.78, allocations: 39 kB / 0.9952 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008583/0.7886, allocations: 8.566 MB / 1.004 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009146/0.7895, allocations: 1.284 MB / 1.005 GB, free: 6.219 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007331/0.7902, allocations: 361.2 kB / 1.005 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.7906, allocations: 291.3 kB / 1.005 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/0.7906, allocations: 0 / 1.005 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.8135, allocations: 13.12 MB / 1.018 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.8137, allocations: 246.5 kB / 1.018 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.705, allocations: 4 kB / 1.018 GB, free: 8.344 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches