Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001751/0.001751, allocations: 115 kB / 16.42 MB, free: 6.488 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.001954/0.001954, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.556/1.556, 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 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 63.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006898/1.109, allocations: 4.332 MB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005298/1.114, allocations: 2.821 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/1.115, allocations: 11.94 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/1.116, allocations: 371.8 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/1.117, allocations: 422.1 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/1.119, allocations: 0.521 MB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008799/1.12, allocations: 0.7241 MB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005829/1.12, allocations: 371.5 kB / 1.177 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/1.121, allocations: 283 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/1.121, allocations: 350.7 kB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/1.121, allocations: 40 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006586/1.122, allocations: 343.3 kB / 1.178 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/1.122, allocations: 195.5 kB / 1.178 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/1.122, allocations: 262.7 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009113/1.123, allocations: 0.7726 MB / 1.179 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.123, allocations: 0 / 1.179 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.393e-06/1.123, allocations: 0 / 1.179 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.123, allocations: 0 / 1.179 GB, free: 8.027 MB / 0.9044 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.001565/1.125, allocations: 0.834 MB / 1.18 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/1.125, allocations: 20.86 kB / 1.18 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/1.127, allocations: 208 kB / 1.18 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/1.127, allocations: 387.1 kB / 1.18 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/1.127, allocations: 25.38 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/1.127, allocations: 48.27 kB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.129, allocations: 0.8675 MB / 1.181 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/1.129, allocations: 7.938 kB / 1.181 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/1.129, allocations: 27.97 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/1.129, allocations: 64.95 kB / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/1.131, allocations: 0.7101 MB / 1.182 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004501/1.135, allocations: 4.531 MB / 1.186 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/1.137, allocations: 0.6628 MB / 1.187 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/1.137, allocations: 329.3 kB / 1.187 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/1.137, allocations: 7.906 kB / 1.187 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/1.138, allocations: 42.56 kB / 1.187 GB, free: 14.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/1.138, allocations: 0 / 1.187 GB, free: 14.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.002516/1.14, allocations: 0.997 MB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.14, allocations: 88.91 kB / 1.188 GB, free: 13.61 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/1.141, allocations: 353.5 kB / 1.189 GB, free: 13.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/1.141, allocations: 37.7 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/1.141, allocations: 279.8 kB / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.141, allocations: 145.9 kB / 1.189 GB, free: 12.79 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/1.141, allocations: 110.1 kB / 1.189 GB, free: 12.67 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.141, allocations: 346.8 kB / 1.19 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/1.142, allocations: 294.9 kB / 1.19 GB, free: 12.03 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/1.143, allocations: 0.4921 MB / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/1.144, allocations: 0.8148 MB / 1.191 GB, free: 10.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.144, allocations: 4 kB / 1.191 GB, free: 10.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001818/1.146, allocations: 0.8241 MB / 1.192 GB, free: 9.707 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.146, allocations: 8 kB / 1.192 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.146, allocations: 11.98 kB / 1.192 GB, free: 9.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/1.146, allocations: 8 kB / 1.192 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/1.147, allocations: 188.3 kB / 1.192 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/1.147, allocations: 8 kB / 1.192 GB, free: 9.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/1.148, allocations: 79.75 kB / 1.192 GB, free: 9.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/1.148, allocations: 27.98 kB / 1.192 GB, free: 9.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008122/1.149, allocations: 381 kB / 1.193 GB, free: 9.008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007278/1.149, allocations: 463.6 kB / 1.193 GB, free: 8.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001406/1.151, allocations: 0.7041 MB / 1.194 GB, free: 7.645 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/1.151, allocations: 7.938 kB / 1.194 GB, free: 7.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001588/1.152, allocations: 0.7405 MB / 1.195 GB, free: 6.891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.152, allocations: 11.98 kB / 1.195 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.152, allocations: 8 kB / 1.195 GB, free: 6.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.152, allocations: 11.94 kB / 1.195 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/1.153, allocations: 159.8 kB / 1.195 GB, free: 6.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/1.153, allocations: 15.94 kB / 1.195 GB, free: 6.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/1.154, allocations: 67.81 kB / 1.195 GB, free: 6.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/1.154, allocations: 35.98 kB / 1.195 GB, free: 6.586 MB / 0.92 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.0002721/1.154, allocations: 218.1 kB / 1.195 GB, free: 6.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.154, allocations: 43.53 kB / 1.195 GB, free: 6.324 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.156, allocations: 0.6929 MB / 1.196 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.156, allocations: 0 / 1.196 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.156, allocations: 0 / 1.196 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/1.156, allocations: 172.4 kB / 1.196 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/1.156, allocations: 11.94 kB / 1.196 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/1.157, allocations: 87.84 kB / 1.196 GB, free: 5.336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.157, allocations: 31.91 kB / 1.196 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001705/1.159, allocations: 0.7928 MB / 1.197 GB, free: 4.504 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001492/1.16, allocations: 0.8405 MB / 1.198 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000587/1.161, allocations: 275.8 kB / 1.198 GB, free: 3.375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003759/1.161, allocations: 267.1 kB / 1.198 GB, free: 3.121 MB / 0.92 GB Notification: Performance of Backend: time 2.004e-06/1.161, allocations: 7.938 kB / 1.198 GB, free: 3.113 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002699/1.164, allocations: 1.014 MB / 1.199 GB, free: 2.094 MB / 0.92 GB Notification: Performance of SimCode: time 0.002041/1.166, allocations: 1.277 MB / 1.2 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of Templates: time 0.02136/1.187, allocations: 11.62 MB / 1.212 GB, free: 5.203 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches