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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.001112/0.001112, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009892/0.009892, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.9 MB / 0.6663 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8393, allocations: 142.4 MB / 0.9551 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005018/0.8444, allocations: 4.846 MB / 0.9598 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.8469, allocations: 1.669 MB / 0.9614 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.8471, allocations: 11.38 kB / 0.9614 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.8474, allocations: 105 kB / 0.9615 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.8479, allocations: 221.7 kB / 0.9617 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.8484, allocations: 208.5 kB / 0.9619 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.8506, allocations: 2.624 MB / 0.9645 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004628/0.8553, allocations: 3.124 MB / 0.9676 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.8563, allocations: 0.5159 MB / 0.9681 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.8579, allocations: 0.7859 MB / 0.9688 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.8582, allocations: 84.56 kB / 0.9689 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00086/0.8591, allocations: 242.1 kB / 0.9691 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007744/0.8599, allocations: 0.5982 MB / 0.9697 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006861/0.8606, allocations: 0.5845 MB / 0.9703 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.8631, allocations: 2.516 MB / 0.9727 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8631, allocations: 5.219 kB / 0.9728 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8631, allocations: 0 / 0.9728 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.282e-05/0.8632, allocations: 0 / 0.9728 GB, free: 11.96 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.002321/0.8655, allocations: 1.142 MB / 0.9739 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8656, allocations: 8.406 kB / 0.9739 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.8672, allocations: 306.9 kB / 0.9742 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.8683, allocations: 0.7144 MB / 0.9749 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.8685, allocations: 100.9 kB / 0.975 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.8687, allocations: 124.3 kB / 0.9751 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.8726, allocations: 2.136 MB / 0.9772 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.8727, allocations: 0 / 0.9772 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.8728, allocations: 52 kB / 0.9772 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-05/0.8729, allocations: 54.06 kB / 0.9773 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.876, allocations: 1.87 MB / 0.9791 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.8862, allocations: 7.752 MB / 0.9867 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.8864, allocations: 130.3 kB / 0.9868 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.8865, allocations: 87.44 kB / 0.9869 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.8866, allocations: 85.09 kB / 0.987 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.8867, allocations: 42.55 kB / 0.987 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 2.865e-06/0.8867, allocations: 4 kB / 0.987 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0005846/0.8873, allocations: 264.8 kB / 0.9872 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.8874, allocations: 132.5 kB / 0.9874 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.8885, allocations: 0.9083 MB / 0.9883 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.8885, allocations: 29.69 kB / 0.9883 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.8891, allocations: 0.7625 MB / 0.989 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.8891, allocations: 55.89 kB / 0.9891 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.8893, allocations: 105.7 kB / 0.9892 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8895, allocations: 370.8 kB / 0.9895 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.8901, allocations: 426.3 kB / 0.9899 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.8911, allocations: 1.173 MB / 0.9911 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.8927, allocations: 1.592 MB / 0.9926 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.8927, allocations: 11.94 kB / 0.9927 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002237/0.895, allocations: 1.55 MB / 0.9942 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.895, allocations: 16 kB / 0.9942 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.8951, allocations: 24 kB / 0.9942 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.434e-05/0.8951, allocations: 36 kB / 0.9942 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/0.896, allocations: 283.5 kB / 0.9945 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.361e-05/0.896, allocations: 51.78 kB / 0.9946 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.897, allocations: 190.5 kB / 0.9947 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.8971, allocations: 76 kB / 0.9948 GB, free: 4.863 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.0009765/0.898, allocations: 0.6432 MB / 0.9954 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.8982, allocations: 59.34 kB / 0.9955 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.8985, allocations: 129.7 kB / 0.9956 GB, free: 4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8985, allocations: 4 kB / 0.9956 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8985, allocations: 0 / 0.9956 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.8985, allocations: 4 kB / 0.9956 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.8997, allocations: 0.7705 MB / 0.9964 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8997, allocations: 0 / 0.9964 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.8997, allocations: 4 kB / 0.9964 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.8998, allocations: 4 kB / 0.9964 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.8998, allocations: 0 / 0.9964 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8998, allocations: 0 / 0.9964 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8998, allocations: 256 / 0.9964 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.9001, allocations: 373.3 kB / 0.9968 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.9002, allocations: 152.4 kB / 0.9969 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.9003, allocations: 12 kB / 0.9969 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.9006, allocations: 11.97 kB / 0.9969 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.9006, allocations: 4 kB / 0.9969 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.9006, allocations: 4 kB / 0.9969 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007573/0.9014, allocations: 0.6472 MB / 0.9976 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9014, allocations: 0 / 0.9976 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001156/0.9026, allocations: 278.9 kB / 0.9978 GB, free: 1.656 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.0001647/0.9027, allocations: 99.25 kB / 0.9979 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.9038, allocations: 0.7201 MB / 0.9986 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9038, allocations: 3.938 kB / 0.9986 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.9038, allocations: 16.62 kB / 0.9986 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.9044, allocations: 52.52 kB / 0.9987 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.9073, allocations: 2.084 MB / 1.001 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009974/0.9083, allocations: 1.292 MB / 1.002 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008039/0.9091, allocations: 361.2 kB / 1.002 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.9092, allocations: 43.44 kB / 1.002 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/0.9092, allocations: 3.938 kB / 1.002 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of Templates: time 0.01029/0.9195, allocations: 4.646 MB / 1.007 GB, free: 8.281 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (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 & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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