Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001924/0.001924, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002482/0.002482, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.805/2.805, 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.145e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01013/0.01017, allocations: 6.466 MB / 0.9573 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005853/0.01602, allocations: 3.04 MB / 0.9603 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006528/0.01667, allocations: 39.62 kB / 0.9603 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.01968, allocations: 0.9553 MB / 0.9612 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.02135, allocations: 0.5279 MB / 0.9617 GB, free: 476 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.02272, allocations: 458.4 kB / 0.9622 GB, free: 20 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.02466, allocations: 1.267 MB / 0.9634 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.0258, allocations: 0.5334 MB / 0.9639 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.02721, allocations: 0.6662 MB / 0.9646 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000986/0.02819, allocations: 482.6 kB / 0.965 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.02838, allocations: 64 kB / 0.9651 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008362/0.02921, allocations: 347.1 kB / 0.9654 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.02965, allocations: 335 kB / 0.9658 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.03024, allocations: 311.2 kB / 0.9661 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.03213, allocations: 1.254 MB / 0.9673 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.03213, allocations: 0 / 0.9673 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.183e-06/0.03213, allocations: 0 / 0.9673 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.913e-05/0.03217, allocations: 0 / 0.9673 GB, free: 10.77 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002409/0.03458, allocations: 1.112 MB / 0.9684 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.03462, allocations: 11.97 kB / 0.9684 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.03635, allocations: 244.1 kB / 0.9686 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.03752, allocations: 0.5391 MB / 0.9691 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.03758, allocations: 53.67 kB / 0.9692 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.03771, allocations: 60.33 kB / 0.9692 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.03967, allocations: 1.344 MB / 0.9706 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.03971, allocations: 12.12 kB / 0.9706 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.03979, allocations: 28.36 kB / 0.9706 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/0.03997, allocations: 89.19 kB / 0.9707 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.04137, allocations: 0.7465 MB / 0.9714 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005661/0.04703, allocations: 4.507 MB / 0.9758 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.04813, allocations: 0.5087 MB / 0.9763 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.0486, allocations: 286.2 kB / 0.9766 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.04864, allocations: 8.438 kB / 0.9766 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.04868, allocations: 39.06 kB / 0.9766 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.757e-06/0.04868, allocations: 4 kB / 0.9766 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004197/0.05288, allocations: 1.685 MB / 0.9783 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.05293, allocations: 59.91 kB / 0.9783 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.05359, allocations: 0.5106 MB / 0.9788 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.05364, allocations: 37.64 kB / 0.9789 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.05395, allocations: 419.8 kB / 0.9793 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.05411, allocations: 186.5 kB / 0.9794 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.05431, allocations: 126.6 kB / 0.9796 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.0545, allocations: 370.8 kB / 0.9799 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.05494, allocations: 277.8 kB / 0.9802 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.05557, allocations: 496.9 kB / 0.9807 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.05668, allocations: 0.8047 MB / 0.9814 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.05669, allocations: 8 kB / 0.9815 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002006/0.0587, allocations: 1.074 MB / 0.9825 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.05873, allocations: 8 kB / 0.9825 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.05875, allocations: 15.92 kB / 0.9825 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009631/0.05972, allocations: 287.8 kB / 0.9828 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.06022, allocations: 123.8 kB / 0.9829 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/0.06753, allocations: 6.578 MB / 0.9893 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.0682, allocations: 48.08 kB / 0.9894 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.06825, allocations: 31.94 kB / 0.9894 GB, free: 2.996 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004415/0.0687, allocations: 249.5 kB / 0.9897 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.06882, allocations: 71.58 kB / 0.9897 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.07057, allocations: 0.8779 MB / 0.9906 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.07057, allocations: 4 kB / 0.9906 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.07058, allocations: 4 kB / 0.9906 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.07059, allocations: 0 / 0.9906 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.07328, allocations: 1.525 MB / 0.9921 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.07328, allocations: 8.031 kB / 0.9921 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.07356, allocations: 59.89 kB / 0.9921 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/0.07438, allocations: 271.3 kB / 0.9924 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.07442, allocations: 12 kB / 0.9924 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007818/0.08223, allocations: 6.578 MB / 0.9988 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.08224, allocations: 7.969 kB / 0.9988 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.08408, allocations: 0.9778 MB / 0.9998 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.0844, allocations: 107.5 kB / 0.9999 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.08449, allocations: 12 kB / 0.9999 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.08488, allocations: 27.95 kB / 0.9999 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.08502, allocations: 51.8 kB / 1 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.08505, allocations: 16 kB / 1 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004849/0.08554, allocations: 342.8 kB / 1 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7e-08/0.08554, allocations: 0 / 1 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009097/0.08645, allocations: 224 kB / 1.001 GB, free: 7.023 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.08664, allocations: 111.2 kB / 1.001 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.0889, allocations: 1.225 MB / 1.002 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.0889, allocations: 3.938 kB / 1.002 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.09029, allocations: 0.8736 MB / 1.003 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.0913, allocations: 201 kB / 1.003 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.09367, allocations: 1.346 MB / 1.004 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.09415, allocations: 416.8 kB / 1.005 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003418/0.09449, allocations: 113.5 kB / 1.005 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.09461, allocations: 36.5 kB / 1.005 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of SimCode: time 7.92e-07/0.09461, allocations: 4 kB / 1.005 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of Templates: time 0.02134/0.1159, allocations: 11.29 MB / 1.016 GB, free: 7.516 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.216540083289146]