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.001524/0.001524, allocations: 104.3 kB / 16.41 MB, free: 6.41 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.001609/0.00161, allocations: 189.7 kB / 17.34 MB, free: 5.699 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.339/2.339, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.8651, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006715/0.8719, allocations: 5.21 MB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.8747, allocations: 1.681 MB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.8749, allocations: 14.16 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.8765, allocations: 0.5228 MB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.8771, allocations: 245.8 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.8777, allocations: 231.4 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.8801, allocations: 1.679 MB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00334/0.8834, allocations: 2.534 MB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.8849, allocations: 0.7753 MB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.8862, allocations: 0.9286 MB / 1.102 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.8865, allocations: 193.2 kB / 1.102 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.8872, allocations: 316 kB / 1.103 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008297/0.888, allocations: 0.7389 MB / 1.103 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007646/0.8888, allocations: 0.702 MB / 1.104 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.892, allocations: 2.655 MB / 1.107 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.892, allocations: 4.594 kB / 1.107 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.503e-06/0.892, allocations: 4 kB / 1.107 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.142e-05/0.8921, allocations: 0 / 1.107 GB, free: 12.32 MB / 0.8731 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.002843/0.8949, allocations: 1.369 MB / 1.108 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.895, allocations: 9.438 kB / 1.108 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.8965, allocations: 305.3 kB / 1.108 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.8977, allocations: 0.7167 MB / 1.109 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.8978, allocations: 100.7 kB / 1.109 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.8981, allocations: 125.2 kB / 1.109 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.9018, allocations: 2.135 MB / 1.111 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.9018, allocations: 1.5 kB / 1.111 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.902, allocations: 49.53 kB / 1.111 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/0.9021, allocations: 54.53 kB / 1.111 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003024/0.9051, allocations: 1.869 MB / 1.113 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009243/0.9144, allocations: 7.666 MB / 1.121 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.9145, allocations: 129.5 kB / 1.121 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.9147, allocations: 80.2 kB / 1.121 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.9148, allocations: 87.06 kB / 1.121 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.9148, allocations: 37.39 kB / 1.121 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 8.887e-06/0.9148, allocations: 4 kB / 1.121 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.000556/0.9154, allocations: 268.8 kB / 1.121 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.9155, allocations: 131.2 kB / 1.121 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.9167, allocations: 0.9103 MB / 1.122 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.9167, allocations: 26.83 kB / 1.122 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/0.9173, allocations: 0.7639 MB / 1.123 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.9173, allocations: 57.53 kB / 1.123 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/0.9177, allocations: 274.7 kB / 1.123 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.9179, allocations: 366.1 kB / 1.124 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.9185, allocations: 430 kB / 1.124 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.9196, allocations: 1.171 MB / 1.125 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.9213, allocations: 1.592 MB / 1.127 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.9213, allocations: 11.75 kB / 1.127 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002275/0.9236, allocations: 1.544 MB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.9236, allocations: 18.33 kB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.9236, allocations: 26.41 kB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.882e-05/0.9237, allocations: 34.78 kB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/0.9245, allocations: 283.8 kB / 1.129 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.587e-05/0.9246, allocations: 53.44 kB / 1.129 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/0.9254, allocations: 190.7 kB / 1.129 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.321e-05/0.9255, allocations: 79.41 kB / 1.129 GB, free: 14.46 MB / 0.8887 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.0008682/0.9264, allocations: 0.6373 MB / 1.13 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.9265, allocations: 57.31 kB / 1.13 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.9268, allocations: 130.6 kB / 1.13 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9268, allocations: 1.062 kB / 1.13 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.9268, allocations: 5.812 kB / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9268, allocations: 0.9688 kB / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.9281, allocations: 0.7713 MB / 1.131 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9281, allocations: 0 / 1.131 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.9281, allocations: 9.391 kB / 1.131 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.9281, allocations: 1.062 kB / 1.131 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.9282, allocations: 1.781 kB / 1.131 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.9282, allocations: 1.094 kB / 1.131 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.9282, allocations: 5.625 kB / 1.131 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.9284, allocations: 373.3 kB / 1.131 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.9286, allocations: 129.9 kB / 1.131 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.9287, allocations: 2.891 kB / 1.131 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.9289, allocations: 16.72 kB / 1.131 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.929, allocations: 1.812 kB / 1.131 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.929, allocations: 2.062 kB / 1.131 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008289/0.9298, allocations: 0.6442 MB / 1.132 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9298, allocations: 3.938 kB / 1.132 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001111/0.9309, allocations: 282.7 kB / 1.132 GB, free: 12.83 MB / 0.8887 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.0001612/0.9311, allocations: 100.7 kB / 1.132 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.9322, allocations: 0.7227 MB / 1.133 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9322, allocations: 0 / 1.133 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.9322, allocations: 15.95 kB / 1.133 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.9327, allocations: 42.45 kB / 1.133 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.9355, allocations: 1.866 MB / 1.135 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.9367, allocations: 1.311 MB / 1.136 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.9368, allocations: 56.09 kB / 1.136 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of SimCode: time 2.11e-07/0.9368, allocations: 0 / 1.136 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of Templates: time 0.02198/0.9588, allocations: 12.29 MB / 1.148 GB, free: 6.285 MB / 0.8887 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/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