Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.006344/0.006345, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001339/0.00134, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.55/2.55, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 62.75 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3415, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04304/0.3846, allocations: 37.26 MB / 1.124 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02567/0.4103, allocations: 13.71 MB / 1.138 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004885/0.4152, allocations: 115.6 kB / 1.138 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006596/0.4219, allocations: 2.272 MB / 1.14 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004842/0.4268, allocations: 1.455 MB / 1.141 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.4368, allocations: 3.524 MB / 1.145 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009907/0.4467, allocations: 6.399 MB / 1.151 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01549/0.4622, allocations: 9.886 MB / 1.161 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005296/0.4676, allocations: 2.762 MB / 1.164 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005805/0.4734, allocations: 3.206 MB / 1.167 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.4757, allocations: 0.6172 MB / 1.167 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/0.4797, allocations: 1.256 MB / 1.168 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003957/0.4837, allocations: 2.476 MB / 1.171 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005614/0.4893, allocations: 2.553 MB / 1.173 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.501, allocations: 9.166 MB / 1.182 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.501, allocations: 0 / 1.182 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd: time 9.82e-07/0.501, allocations: 0 / 1.182 GB, free: 476 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003496/0.5013, allocations: 0 / 1.182 GB, free: 476 kB / 0.9356 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.01426/0.5156, allocations: 4.307 MB / 1.187 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5157, allocations: 8.031 kB / 1.187 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005548/0.5212, allocations: 1.03 MB / 1.188 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/0.5265, allocations: 2.23 MB / 1.19 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.5268, allocations: 325 kB / 1.19 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.5281, allocations: 440.2 kB / 1.19 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.5466, allocations: 7.401 MB / 1.198 GB, free: 396 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002474/0.5469, allocations: 11.88 kB / 1.198 GB, free: 384 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001648/0.5486, allocations: 184 kB / 1.198 GB, free: 200 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004722/0.5491, allocations: 295 kB / 1.198 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.5629, allocations: 6.018 MB / 1.204 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04926/0.6122, allocations: 32.44 MB / 1.236 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.6167, allocations: 2.154 MB / 1.238 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.6186, allocations: 1.248 MB / 1.239 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.6189, allocations: 102.1 kB / 1.239 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.6189, allocations: 51.5 kB / 1.239 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=98): time 2.976e-06/0.6189, allocations: 0 / 1.239 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.01104/0.63, allocations: 5.266 MB / 1.244 GB, free: 13.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.6301, allocations: 149.4 kB / 1.244 GB, free: 13.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.6322, allocations: 1.472 MB / 1.246 GB, free: 11.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.6324, allocations: 49.7 kB / 1.246 GB, free: 11.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.6337, allocations: 1.863 MB / 1.248 GB, free: 10.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.6341, allocations: 374.9 kB / 1.248 GB, free: 9.664 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007009/0.6348, allocations: 463 kB / 1.249 GB, free: 9.203 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6349, allocations: 305.1 kB / 1.249 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.6367, allocations: 1.145 MB / 1.25 GB, free: 7.746 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.6396, allocations: 2.215 MB / 1.252 GB, free: 5.012 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004522/0.6441, allocations: 3.438 MB / 1.255 GB, free: 1.098 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.87e-05/0.6442, allocations: 8 kB / 1.256 GB, free: 1.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.7853/1.43, allocations: 3.364 MB / 1.259 GB, free: 155.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/1.43, allocations: 20.36 kB / 1.259 GB, free: 155.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.576e-05/1.43, allocations: 33.5 kB / 1.259 GB, free: 155.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/1.43, allocations: 47.38 kB / 1.259 GB, free: 155.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/1.433, allocations: 0.6373 MB / 1.26 GB, free: 155.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.596e-05/1.433, allocations: 70.34 kB / 1.26 GB, free: 155.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.435, allocations: 324.5 kB / 1.26 GB, free: 155.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.435, allocations: 118.8 kB / 1.26 GB, free: 155.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005634/1.441, allocations: 2.432 MB / 1.262 GB, free: 155.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003322/1.444, allocations: 2.036 MB / 1.264 GB, free: 153.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006134/1.451, allocations: 3.069 MB / 1.267 GB, free: 151.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.004e-05/1.451, allocations: 10.34 kB / 1.267 GB, free: 151.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006837/1.458, allocations: 2.979 MB / 1.27 GB, free: 150.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/1.458, allocations: 19.44 kB / 1.27 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/1.458, allocations: 34.72 kB / 1.27 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.95e-05/1.458, allocations: 48.88 kB / 1.27 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.46, allocations: 0.5659 MB / 1.271 GB, free: 150 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001093/1.46, allocations: 74.02 kB / 1.271 GB, free: 150 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/1.462, allocations: 264.2 kB / 1.271 GB, free: 150 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.462, allocations: 112.9 kB / 1.271 GB, free: 149.9 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006155/1.463, allocations: 342.3 kB / 1.272 GB, free: 149.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/1.463, allocations: 154.7 kB / 1.272 GB, free: 149.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/1.467, allocations: 2.246 MB / 1.274 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/1.467, allocations: 14.81 kB / 1.274 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.467, allocations: 2.047 kB / 1.274 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/1.467, allocations: 5.812 kB / 1.274 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.485, allocations: 10.99 MB / 1.285 GB, free: 144.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-05/1.485, allocations: 11.28 kB / 1.285 GB, free: 144.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.487, allocations: 394.2 kB / 1.285 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/1.487, allocations: 16.03 kB / 1.285 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/1.487, allocations: 33.38 kB / 1.285 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.179e-05/1.487, allocations: 22.75 kB / 1.285 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/1.487, allocations: 18.09 kB / 1.285 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/1.491, allocations: 2.766 MB / 1.288 GB, free: 143 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.492, allocations: 455 kB / 1.288 GB, free: 142.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/1.493, allocations: 39.03 kB / 1.288 GB, free: 142.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.494, allocations: 176 kB / 1.289 GB, free: 142.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/1.495, allocations: 103.9 kB / 1.289 GB, free: 142.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.495, allocations: 36.94 kB / 1.289 GB, free: 142.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002344/1.497, allocations: 1.006 MB / 1.29 GB, free: 142.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.497, allocations: 0 / 1.29 GB, free: 142.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006619/1.504, allocations: 1.132 MB / 1.291 GB, free: 142.3 MB / 1.014 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 (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.0004558/1.504, allocations: 148.2 kB / 1.291 GB, free: 142.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007623/1.512, allocations: 4.073 MB / 1.295 GB, free: 140.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/1.512, allocations: 1.375 kB / 1.295 GB, free: 140.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/1.514, allocations: 1.055 MB / 1.296 GB, free: 140.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.517, allocations: 457.9 kB / 1.296 GB, free: 140.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.531, allocations: 6.99 MB / 1.303 GB, free: 137.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004209/1.535, allocations: 2.868 MB / 1.306 GB, free: 136 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003188/1.539, allocations: 1.226 MB / 1.307 GB, free: 135.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/1.539, allocations: 123.9 kB / 1.307 GB, free: 135.5 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.539, allocations: 0 / 1.307 GB, free: 135.5 MB / 1.014 GB Notification: Performance of Templates: time 0.04389/1.583, allocations: 26.01 MB / 1.333 GB, free: 111.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches