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.001784/0.001784, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002444/0.002444, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.207 MB / 190.1 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.698/2.698, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 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.864e-06/1.864e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.379e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01505/0.01509, allocations: 10.51 MB / 0.9612 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.02561, allocations: 5.571 MB / 0.9667 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.0268, allocations: 75.31 kB / 0.9668 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004842/0.03164, allocations: 1.726 MB / 0.9684 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.03481, allocations: 1.224 MB / 0.9696 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.03714, allocations: 0.8194 MB / 0.9704 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003108/0.04025, allocations: 2.185 MB / 0.9726 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.04194, allocations: 1.033 MB / 0.9736 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.04414, allocations: 1.208 MB / 0.9748 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.0457, allocations: 0.8218 MB / 0.9756 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003134/0.04601, allocations: 116 kB / 0.9757 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.04827, allocations: 1.075 MB / 0.9767 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.04905, allocations: 0.5686 MB / 0.9773 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.05017, allocations: 0.5299 MB / 0.9778 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.05432, allocations: 2.492 MB / 0.9802 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.05432, allocations: 4 kB / 0.9802 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.05433, allocations: 0 / 0.9802 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.387e-05/0.05439, allocations: 0 / 0.9802 GB, free: 13.47 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003964/0.05835, allocations: 1.832 MB / 0.982 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.05839, allocations: 8.031 kB / 0.982 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.06342, allocations: 0.6748 MB / 0.9827 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.06548, allocations: 0.9245 MB / 0.9836 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.06557, allocations: 94.89 kB / 0.9837 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.06585, allocations: 128.3 kB / 0.9838 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.0695, allocations: 2.408 MB / 0.9861 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.06955, allocations: 16.08 kB / 0.9862 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.0697, allocations: 60.34 kB / 0.9862 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.06992, allocations: 166.2 kB / 0.9864 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.07314, allocations: 1.855 MB / 0.9882 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.08445, allocations: 9.176 MB / 0.9972 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004558/0.08901, allocations: 1.861 MB / 0.999 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000881/0.08989, allocations: 0.562 MB / 0.9995 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.09002, allocations: 20.98 kB / 0.9995 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.09005, allocations: 47.5 kB / 0.9996 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=103): time 4.679e-06/0.09006, allocations: 3.984 kB / 0.9996 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006367/0.09642, allocations: 3.118 MB / 1.003 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.09648, allocations: 64.41 kB / 1.003 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.09761, allocations: 0.873 MB / 1.004 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.09768, allocations: 41.7 kB / 1.004 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/0.09826, allocations: 0.7572 MB / 1.004 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.0986, allocations: 404.5 kB / 1.005 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.09904, allocations: 287.4 kB / 1.005 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.09916, allocations: 305.1 kB / 1.005 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.1002, allocations: 0.6168 MB / 1.006 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.1016, allocations: 1.106 MB / 1.007 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/0.1042, allocations: 1.828 MB / 1.009 GB, free: 15.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.1042, allocations: 7.938 kB / 1.009 GB, free: 15.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003637/0.1079, allocations: 2.104 MB / 1.011 GB, free: 12.95 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.1079, allocations: 12 kB / 1.011 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.1079, allocations: 16.91 kB / 1.011 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008614/0.1088, allocations: 258.6 kB / 1.011 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.1101, allocations: 371.4 kB / 1.011 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/0.1195, allocations: 10.55 MB / 1.022 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.1208, allocations: 127.8 kB / 1.022 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.121, allocations: 71.92 kB / 1.022 GB, free: 0.707 MB / 0.92 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.0007178/0.1217, allocations: 405.3 kB / 1.022 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.1219, allocations: 131.2 kB / 1.022 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.125, allocations: 1.671 MB / 1.024 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.125, allocations: 12 kB / 1.024 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.125, allocations: 8 kB / 1.024 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.125, allocations: 7.969 kB / 1.024 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.13, allocations: 2.939 MB / 1.027 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.13, allocations: 8 kB / 1.027 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/0.1309, allocations: 219.7 kB / 1.027 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007534/0.1317, allocations: 246.6 kB / 1.027 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.1318, allocations: 24 kB / 1.027 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009207/0.141, allocations: 10.55 MB / 1.038 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.141, allocations: 11.94 kB / 1.038 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.1439, allocations: 1.784 MB / 1.039 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/0.1445, allocations: 231.1 kB / 1.04 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.1446, allocations: 24 kB / 1.04 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.1454, allocations: 91.86 kB / 1.04 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.1456, allocations: 104.6 kB / 1.04 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.1457, allocations: 36 kB / 1.04 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007535/0.1464, allocations: 0.5686 MB / 1.041 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1464, allocations: 0 / 1.041 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001394/0.1478, allocations: 391.9 kB / 1.041 GB, free: 12.16 MB / 0.9512 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.0002607/0.1481, allocations: 148.6 kB / 1.041 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00369/0.1518, allocations: 2.403 MB / 1.043 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1518, allocations: 4 kB / 1.043 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.154, allocations: 1.578 MB / 1.045 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.1556, allocations: 341.2 kB / 1.045 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.1606, allocations: 2.779 MB / 1.048 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.1616, allocations: 0.741 MB / 1.049 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001035/0.1627, allocations: 351 kB / 1.049 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.163, allocations: 96.48 kB / 1.049 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of SimCode: time 1.833e-06/0.163, allocations: 7.938 kB / 1.049 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of Templates: time 0.03374/0.1967, allocations: 17.23 MB / 1.066 GB, free: 2.535 MB / 0.9669 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.53731755912304]