Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 109 kB / 16.41 MB, free: 6.516 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.00163/0.00163, allocations: 185.4 kB / 17.34 MB, free: 5.734 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 68.09 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006806/1.066, allocations: 4.346 MB / 1.231 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004984/1.071, allocations: 2.82 MB / 1.233 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/1.072, allocations: 15.88 kB / 1.233 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/1.073, allocations: 374.3 kB / 1.234 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/1.074, allocations: 422.1 kB / 1.234 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/1.075, allocations: 0.5177 MB / 1.235 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008617/1.076, allocations: 0.7165 MB / 1.235 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005904/1.077, allocations: 367.5 kB / 1.236 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/1.077, allocations: 287 kB / 1.236 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/1.078, allocations: 354.7 kB / 1.236 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/1.078, allocations: 40 kB / 1.236 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/1.078, allocations: 339.3 kB / 1.237 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/1.079, allocations: 199.5 kB / 1.237 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002489/1.079, allocations: 262.6 kB / 1.237 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008943/1.08, allocations: 0.7671 MB / 1.238 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.08, allocations: 0 / 1.238 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.254e-06/1.08, allocations: 0 / 1.238 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.08, allocations: 0 / 1.238 GB, free: 1.73 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001631/1.081, allocations: 0.8604 MB / 1.239 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.082, allocations: 12.03 kB / 1.239 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.083, allocations: 216.3 kB / 1.239 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/1.084, allocations: 387.3 kB / 1.239 GB, free: 184 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/1.084, allocations: 33.36 kB / 1.239 GB, free: 148 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/1.084, allocations: 48.34 kB / 1.239 GB, free: 100 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.085, allocations: 0.8597 MB / 1.24 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/1.085, allocations: 11.95 kB / 1.24 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/1.085, allocations: 20 kB / 1.24 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.608e-05/1.085, allocations: 64.95 kB / 1.24 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/1.087, allocations: 0.7101 MB / 1.241 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/1.091, allocations: 4.528 MB / 1.245 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.093, allocations: 0.6616 MB / 1.246 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/1.093, allocations: 321.5 kB / 1.246 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/1.093, allocations: 11.94 kB / 1.246 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/1.093, allocations: 38.5 kB / 1.246 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/1.093, allocations: 0 / 1.246 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.002367/1.096, allocations: 1.012 MB / 1.247 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.096, allocations: 81.11 kB / 1.247 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/1.096, allocations: 357.5 kB / 1.248 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/1.096, allocations: 37.7 kB / 1.248 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/1.096, allocations: 284.7 kB / 1.248 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.097, allocations: 146.8 kB / 1.248 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.097, allocations: 118.1 kB / 1.248 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.097, allocations: 346.8 kB / 1.249 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/1.098, allocations: 294.9 kB / 1.249 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/1.098, allocations: 499.9 kB / 1.249 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/1.1, allocations: 0.8186 MB / 1.25 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.1, allocations: 0 / 1.25 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001646/1.101, allocations: 0.8366 MB / 1.251 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.101, allocations: 8 kB / 1.251 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.101, allocations: 15.97 kB / 1.251 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.102, allocations: 8 kB / 1.251 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/1.102, allocations: 175.7 kB / 1.251 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/1.102, allocations: 11.94 kB / 1.251 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/1.103, allocations: 91.84 kB / 1.251 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/1.103, allocations: 31.98 kB / 1.251 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007289/1.104, allocations: 377 kB / 1.252 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006829/1.104, allocations: 463.6 kB / 1.252 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/1.106, allocations: 0.7158 MB / 1.253 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.661e-06/1.106, allocations: 4 kB / 1.253 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001469/1.107, allocations: 0.7205 MB / 1.254 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.107, allocations: 13.95 kB / 1.254 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.107, allocations: 8 kB / 1.254 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/1.107, allocations: 8 kB / 1.254 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/1.108, allocations: 163.8 kB / 1.254 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.108, allocations: 15.94 kB / 1.254 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/1.108, allocations: 63.83 kB / 1.254 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/1.108, allocations: 31.98 kB / 1.254 GB, free: 260 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0002242/1.109, allocations: 229.5 kB / 1.254 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.109, allocations: 51.78 kB / 1.254 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.11, allocations: 0.6929 MB / 1.255 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.11, allocations: 0 / 1.255 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.11, allocations: 0 / 1.255 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/1.111, allocations: 172.6 kB / 1.255 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/1.111, allocations: 12 kB / 1.255 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/1.111, allocations: 87.84 kB / 1.255 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.111, allocations: 27.72 kB / 1.255 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001525/1.113, allocations: 0.7964 MB / 1.256 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001319/1.114, allocations: 0.8453 MB / 1.257 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005184/1.115, allocations: 287.7 kB / 1.257 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003468/1.115, allocations: 267.1 kB / 1.257 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Backend: time 5.42e-07/1.115, allocations: 0 / 1.257 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.118, allocations: 1.008 MB / 1.258 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002023/1.12, allocations: 1.309 MB / 1.26 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Templates: time 0.01898/1.139, allocations: 11.62 MB / 1.271 GB, free: 14.82 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches