Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001751/0.001751, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.959/2.959, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006747/0.0006749, allocations: 10.94 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4054, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0392/0.4447, allocations: 33.91 MB / 1.091 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.4643, allocations: 12.84 MB / 1.104 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/0.4673, allocations: 95.69 kB / 1.104 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.469, allocations: 0.5816 MB / 1.104 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.4717, allocations: 1.089 MB / 1.105 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004549/0.4763, allocations: 1.508 MB / 1.107 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008285/0.4846, allocations: 7.266 MB / 1.114 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01655/0.5011, allocations: 10.07 MB / 1.124 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004092/0.5053, allocations: 1.868 MB / 1.126 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.5105, allocations: 2.644 MB / 1.128 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007383/0.5112, allocations: 256 kB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.513, allocations: 0.5386 MB / 1.129 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.5154, allocations: 1.992 MB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.5169, allocations: 0.82 MB / 1.132 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007892/0.5248, allocations: 7.641 MB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5249, allocations: 0 / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5249, allocations: 4 kB / 1.139 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002364/0.5251, allocations: 0 / 1.139 GB, free: 1.887 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007409/0.5325, allocations: 3.448 MB / 1.143 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5326, allocations: 11.97 kB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/0.5367, allocations: 0.9433 MB / 1.144 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/0.5408, allocations: 2.159 MB / 1.146 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.5411, allocations: 324.6 kB / 1.146 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009358/0.542, allocations: 428 kB / 1.146 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.559, allocations: 7.322 MB / 1.153 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.5591, allocations: 11.88 kB / 1.153 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.5597, allocations: 184 kB / 1.154 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003873/0.5601, allocations: 286.9 kB / 1.154 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.575, allocations: 5.936 MB / 1.16 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04311/0.6181, allocations: 32.63 MB / 1.192 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.6215, allocations: 2.103 MB / 1.194 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.6231, allocations: 1.232 MB / 1.195 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.6233, allocations: 106.1 kB / 1.195 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6233, allocations: 47.5 kB / 1.195 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=98): time 2.816e-06/0.6234, allocations: 0 / 1.195 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of matching and sorting (n=101): time 0.007678/0.631, allocations: 5.231 MB / 1.2 GB, free: 180 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.6311, allocations: 141.5 kB / 1.2 GB, free: 8 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.6331, allocations: 1.445 MB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.6333, allocations: 41.7 kB / 1.202 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.6345, allocations: 1.867 MB / 1.204 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.6349, allocations: 374.9 kB / 1.204 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.635, allocations: 40 kB / 1.204 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.6352, allocations: 402 kB / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.637, allocations: 1.093 MB / 1.205 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.6395, allocations: 2.176 MB / 1.207 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.6417, allocations: 1.521 MB / 1.209 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.6418, allocations: 12 kB / 1.209 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005267/0.647, allocations: 3.293 MB / 1.212 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009945/0.6481, allocations: 1.094 MB / 1.213 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/0.6481, allocations: 36 kB / 1.213 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.027e-05/0.6482, allocations: 52 kB / 1.213 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.6502, allocations: 0.62 MB / 1.214 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.129e-05/0.6503, allocations: 71.72 kB / 1.214 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.6523, allocations: 306.7 kB / 1.214 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.6525, allocations: 112 kB / 1.214 GB, free: 424 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6525, allocations: 4 kB / 1.214 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004575/0.6571, allocations: 2.742 MB / 1.217 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-05/0.6572, allocations: 36.03 kB / 1.217 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.827e-05/0.6573, allocations: 52 kB / 1.217 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.6591, allocations: 0.5575 MB / 1.218 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-05/0.6591, allocations: 71.72 kB / 1.218 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6606, allocations: 231 kB / 1.218 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.6608, allocations: 112 kB / 1.218 GB, free: 12.62 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003441/0.6642, allocations: 1.71 MB / 1.22 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.6647, allocations: 154.1 kB / 1.22 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.6682, allocations: 2.223 MB / 1.222 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.6682, allocations: 8 kB / 1.222 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.6683, allocations: 8 kB / 1.222 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6683, allocations: 7.969 kB / 1.222 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.684, allocations: 10.97 MB / 1.233 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6841, allocations: 8.219 kB / 1.233 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.6854, allocations: 391.3 kB / 1.233 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/0.6854, allocations: 16 kB / 1.233 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/0.6855, allocations: 28 kB / 1.233 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/0.6856, allocations: 27.86 kB / 1.233 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.6856, allocations: 19.94 kB / 1.233 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.6888, allocations: 2.755 MB / 1.236 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.6896, allocations: 470.8 kB / 1.236 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.6898, allocations: 35.98 kB / 1.236 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/0.6908, allocations: 171.7 kB / 1.237 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.691, allocations: 104.2 kB / 1.237 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.691, allocations: 36 kB / 1.237 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001324/0.6924, allocations: 0.9586 MB / 1.238 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6924, allocations: 0 / 1.238 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00368/0.6961, allocations: 1.129 MB / 1.239 GB, free: 6.961 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002519/0.6963, allocations: 157 kB / 1.239 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005625/0.702, allocations: 3.964 MB / 1.243 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.702, allocations: 0 / 1.243 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.7034, allocations: 1.056 MB / 1.244 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.7055, allocations: 399.6 kB / 1.244 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5968/1.302, allocations: 8.484 MB / 1.253 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/1.305, allocations: 2.864 MB / 1.255 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003412/1.309, allocations: 1.204 MB / 1.257 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/1.309, allocations: 120.3 kB / 1.257 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.463e-06/1.309, allocations: 4 kB / 1.257 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05586/1.365, allocations: 22.9 MB / 1.279 GB, free: 163.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches