Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.773/2.773, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.503e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01611/0.01613, allocations: 10.51 MB / 0.7967 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.02768, allocations: 5.586 MB / 0.8021 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.02913, allocations: 75.31 kB / 0.8022 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005337/0.03447, allocations: 1.726 MB / 0.8039 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.03846, allocations: 1.221 MB / 0.8051 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.04105, allocations: 0.8097 MB / 0.8058 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003724/0.04478, allocations: 2.184 MB / 0.808 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.04696, allocations: 1.022 MB / 0.809 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.04969, allocations: 1.204 MB / 0.8102 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.0515, allocations: 0.8257 MB / 0.811 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003446/0.05185, allocations: 113.8 kB / 0.8111 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.05447, allocations: 1.079 MB / 0.8121 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009171/0.05539, allocations: 0.5724 MB / 0.8127 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.05653, allocations: 0.5298 MB / 0.8132 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/0.06125, allocations: 2.485 MB / 0.8156 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.06126, allocations: 0 / 0.8156 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.683e-06/0.06126, allocations: 0 / 0.8156 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.614e-05/0.06134, allocations: 1.125 kB / 0.8156 GB, free: 14.8 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004056/0.06539, allocations: 1.831 MB / 0.8174 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.06544, allocations: 8.031 kB / 0.8174 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005479/0.07092, allocations: 0.9978 MB / 0.8184 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.07323, allocations: 0.9831 MB / 0.8194 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.07335, allocations: 94.91 kB / 0.8194 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.0737, allocations: 128.3 kB / 0.8196 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/0.07825, allocations: 2.412 MB / 0.8219 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.07831, allocations: 8.125 kB / 0.8219 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.07852, allocations: 60.36 kB / 0.822 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004067/0.07892, allocations: 166.2 kB / 0.8221 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.08264, allocations: 1.859 MB / 0.824 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.0966, allocations: 9.219 MB / 0.833 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004937/0.1015, allocations: 1.847 MB / 0.8348 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.1025, allocations: 0.562 MB / 0.8353 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.1027, allocations: 32.98 kB / 0.8354 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.1028, allocations: 43.56 kB / 0.8354 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=103): time 3.918e-06/0.1028, allocations: 0 / 0.8354 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of matching and sorting (n=110): time 0.007421/0.1102, allocations: 3.157 MB / 0.8385 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.1102, allocations: 60.41 kB / 0.8385 GB, free: 6.656 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.1117, allocations: 0.873 MB / 0.8394 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.1118, allocations: 45.7 kB / 0.8394 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.1125, allocations: 0.7533 MB / 0.8402 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.1129, allocations: 404.5 kB / 0.8406 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.1134, allocations: 283.4 kB / 0.8408 GB, free: 4.266 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1136, allocations: 305.1 kB / 0.8411 GB, free: 3.965 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.1147, allocations: 0.609 MB / 0.8417 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.1165, allocations: 1.117 MB / 0.8428 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.1196, allocations: 1.828 MB / 0.8446 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.1196, allocations: 4 kB / 0.8446 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004168/0.1238, allocations: 2.17 MB / 0.8467 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1238, allocations: 12 kB / 0.8467 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.1238, allocations: 16 kB / 0.8467 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.1249, allocations: 279.3 kB / 0.847 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.1263, allocations: 371.4 kB / 0.8474 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.1381, allocations: 10.58 MB / 0.8577 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.1393, allocations: 128 kB / 0.8578 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.1395, allocations: 72 kB / 0.8579 GB, free: 1.488 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007942/0.1403, allocations: 409.1 kB / 0.8583 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.1407, allocations: 159.2 kB / 0.8584 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.1441, allocations: 1.679 MB / 0.8601 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.1442, allocations: 12 kB / 0.8601 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.1442, allocations: 4 kB / 0.8601 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.1442, allocations: 7.969 kB / 0.8601 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005929/0.1501, allocations: 2.938 MB / 0.8629 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.1501, allocations: 8 kB / 0.863 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.1511, allocations: 223.6 kB / 0.8632 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009336/0.152, allocations: 259.3 kB / 0.8634 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.1521, allocations: 24 kB / 0.8634 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.1638, allocations: 10.56 MB / 0.8738 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.1638, allocations: 8.312 kB / 0.8738 GB, free: 204 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.1673, allocations: 1.819 MB / 0.8755 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.168, allocations: 239 kB / 0.8758 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.1682, allocations: 23.95 kB / 0.8758 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/0.169, allocations: 91.88 kB / 0.8759 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.1693, allocations: 100.7 kB / 0.876 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.1694, allocations: 39.98 kB / 0.876 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009029/0.1703, allocations: 0.5726 MB / 0.8766 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1703, allocations: 0 / 0.8766 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001567/0.1718, allocations: 392 kB / 0.8769 GB, free: 12.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002707/0.1721, allocations: 143 kB / 0.8771 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004658/0.1768, allocations: 2.414 MB / 0.8794 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1768, allocations: 0 / 0.8794 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.1794, allocations: 1.575 MB / 0.881 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.1812, allocations: 349.2 kB / 0.8813 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.1867, allocations: 2.835 MB / 0.8841 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.188, allocations: 0.741 MB / 0.8848 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001073/0.189, allocations: 350.9 kB / 0.8851 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.1894, allocations: 92.48 kB / 0.8852 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/0.1894, allocations: 4 kB / 0.8852 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of Templates: time 0.03483/0.2242, allocations: 17.33 MB / 0.9021 GB, free: 3.016 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.462151470012031]