Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.002106/0.002106, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.002387/0.002387, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.804/2.804, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.OnePhase.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.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.171e-05/4.468e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01256/0.0126, allocations: 6.792 MB / 0.793 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007081/0.01968, allocations: 3.097 MB / 0.796 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.02012, allocations: 35.69 kB / 0.7961 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.02286, allocations: 0.9852 MB / 0.797 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.02411, allocations: 0.5387 MB / 0.7976 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.0252, allocations: 429.8 kB / 0.798 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.02681, allocations: 1.253 MB / 0.7992 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009219/0.02773, allocations: 0.5372 MB / 0.7997 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.02879, allocations: 0.6663 MB / 0.8004 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.02961, allocations: 479.9 kB / 0.8008 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.02975, allocations: 68 kB / 0.8009 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.0305, allocations: 348.2 kB / 0.8012 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.03088, allocations: 335 kB / 0.8015 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.03142, allocations: 315.2 kB / 0.8018 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.03307, allocations: 1.244 MB / 0.8031 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.03308, allocations: 7.938 kB / 0.8031 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.904e-06/0.03308, allocations: 0 / 0.8031 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.03309, allocations: 0 / 0.8031 GB, free: 11.68 MB / 0.7605 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.002221/0.03531, allocations: 1.249 MB / 0.8043 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.03536, allocations: 8.906 kB / 0.8043 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.03701, allocations: 345.8 kB / 0.8046 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.03812, allocations: 0.5516 MB / 0.8052 GB, free: 9.477 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.03817, allocations: 50.33 kB / 0.8052 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.03829, allocations: 64.38 kB / 0.8053 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.04001, allocations: 1.153 MB / 0.8064 GB, free: 8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.04004, allocations: 12.08 kB / 0.8064 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.04013, allocations: 36.34 kB / 0.8064 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.04031, allocations: 89.19 kB / 0.8065 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008915/0.0412, allocations: 419.6 kB / 0.8069 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00677/0.04797, allocations: 5.901 MB / 0.8127 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.04883, allocations: 313.8 kB / 0.813 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.04914, allocations: 149.1 kB / 0.8131 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.0492, allocations: 9 kB / 0.8131 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.04924, allocations: 43.05 kB / 0.8132 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 3.396e-06/0.04924, allocations: 0 / 0.8132 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.003513/0.05276, allocations: 1.154 MB / 0.8143 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.05281, allocations: 55.91 kB / 0.8144 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.05357, allocations: 0.6351 MB / 0.815 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.05361, allocations: 29.7 kB / 0.815 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.054, allocations: 490.6 kB / 0.8155 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.05431, allocations: 186.5 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.05456, allocations: 148.2 kB / 0.8158 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003336/0.05489, allocations: 0.5665 MB / 0.8163 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.0552, allocations: 141.9 kB / 0.8165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.0558, allocations: 472.6 kB / 0.8169 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009741/0.05678, allocations: 0.6482 MB / 0.8176 GB, free: 12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.05678, allocations: 4 kB / 0.8176 GB, free: 12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00169/0.05847, allocations: 0.8156 MB / 0.8184 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.05849, allocations: 8 kB / 0.8184 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.0585, allocations: 4 kB / 0.8184 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.05998, allocations: 326.9 kB / 0.8187 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.06048, allocations: 127.8 kB / 0.8188 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/0.06838, allocations: 7.789 MB / 0.8264 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.06894, allocations: 48.02 kB / 0.8265 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.069, allocations: 31.94 kB / 0.8265 GB, free: 2.32 MB / 0.7761 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.0003298/0.06933, allocations: 220.6 kB / 0.8267 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.06947, allocations: 83.62 kB / 0.8268 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.07089, allocations: 0.5921 MB / 0.8274 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.0709, allocations: 4 kB / 0.8274 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.07091, allocations: 7.938 kB / 0.8274 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.07092, allocations: 3.984 kB / 0.8274 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.07347, allocations: 1.303 MB / 0.8287 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.07348, allocations: 12.03 kB / 0.8287 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.07375, allocations: 63.84 kB / 0.8287 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.07511, allocations: 314.4 kB / 0.829 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.07515, allocations: 8 kB / 0.829 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007756/0.0829, allocations: 7.779 MB / 0.8366 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.08291, allocations: 7.938 kB / 0.8366 GB, free: 7.312 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.0844, allocations: 0.7716 MB / 0.8374 GB, free: 6.48 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.08472, allocations: 107.5 kB / 0.8375 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.08479, allocations: 8 kB / 0.8375 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.08517, allocations: 35.95 kB / 0.8375 GB, free: 6.332 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.08529, allocations: 47.8 kB / 0.8376 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.08532, allocations: 12 kB / 0.8376 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004932/0.08582, allocations: 402.8 kB / 0.838 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.08582, allocations: 0 / 0.838 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008404/0.08666, allocations: 224 kB / 0.8382 GB, free: 5.664 MB / 0.7917 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.0002006/0.08686, allocations: 119.1 kB / 0.8383 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.0889, allocations: 1.257 MB / 0.8395 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.08891, allocations: 4.062 kB / 0.8395 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.09032, allocations: 0.9962 MB / 0.8405 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.09131, allocations: 208.6 kB / 0.8407 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.0936, allocations: 1.286 MB / 0.842 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.09409, allocations: 399.3 kB / 0.8423 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003178/0.09441, allocations: 101.4 kB / 0.8424 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.09453, allocations: 48.5 kB / 0.8425 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/0.09453, allocations: 0 / 0.8425 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of Templates: time 0.0225/0.117, allocations: 11.42 MB / 0.8536 GB, free: 5.848 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.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.35514785302803]