Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 199 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 443.5 MB / 0.732 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] 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.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_10_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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 67.89 kB / 1.061 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9134/0.9155, allocations: 160.7 MB / 1.218 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01173/0.9273, allocations: 6.997 MB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007448/0.9347, allocations: 3.16 MB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.936, allocations: 28.34 kB / 1.228 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003435/0.9394, allocations: 0.9825 MB / 1.229 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.9415, allocations: 0.5198 MB / 1.23 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.9431, allocations: 440.3 kB / 1.23 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.9455, allocations: 1.229 MB / 1.231 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.9467, allocations: 479.3 kB / 1.232 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.948, allocations: 485 kB / 1.232 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.9493, allocations: 0.5449 MB / 1.233 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.9496, allocations: 75.94 kB / 1.233 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.9507, allocations: 383.2 kB / 1.233 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/0.9511, allocations: 319 kB / 1.233 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005849/0.9517, allocations: 445.8 kB / 1.234 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.9534, allocations: 1.226 MB / 1.235 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.9534, allocations: 0 / 1.235 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9534, allocations: 0 / 1.235 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.9534, allocations: 0 / 1.235 GB, free: 6.277 MB / 0.9356 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.002214/0.9556, allocations: 1.175 MB / 1.236 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9556, allocations: 8.625 kB / 1.236 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.9573, allocations: 256 kB / 1.236 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.9584, allocations: 0.5964 MB / 1.237 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.9584, allocations: 49.67 kB / 1.237 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.9585, allocations: 60.38 kB / 1.237 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.9602, allocations: 1.081 MB / 1.238 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.9602, allocations: 11.89 kB / 1.238 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.9603, allocations: 35.98 kB / 1.238 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.9605, allocations: 85.25 kB / 1.238 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.9617, allocations: 0.7504 MB / 1.239 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006449/0.9681, allocations: 5.882 MB / 1.245 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.9692, allocations: 0.5047 MB / 1.245 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.9696, allocations: 282 kB / 1.246 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.9697, allocations: 4.438 kB / 1.246 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.9697, allocations: 43 kB / 1.246 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.795e-06/0.9697, allocations: 0 / 1.246 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004212/0.9739, allocations: 1.987 MB / 1.248 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.974, allocations: 63.84 kB / 1.248 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.9747, allocations: 0.5548 MB / 1.248 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.9748, allocations: 33.7 kB / 1.248 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.9751, allocations: 432 kB / 1.249 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.9753, allocations: 174.5 kB / 1.249 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.9755, allocations: 130.6 kB / 1.249 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.9757, allocations: 378.7 kB / 1.249 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.9762, allocations: 273.8 kB / 1.25 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.9768, allocations: 497 kB / 1.25 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.9779, allocations: 0.8093 MB / 1.251 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9779, allocations: 3.938 kB / 1.251 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001963/0.9799, allocations: 1.079 MB / 1.252 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.9799, allocations: 10.5 kB / 1.252 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.9799, allocations: 8 kB / 1.252 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/0.9808, allocations: 275.5 kB / 1.252 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.9814, allocations: 127.7 kB / 1.252 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/0.989, allocations: 7.151 MB / 1.259 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.9897, allocations: 31.97 kB / 1.259 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.9898, allocations: 32 kB / 1.259 GB, free: 11.89 MB / 0.9669 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.0004202/0.9902, allocations: 257.6 kB / 1.26 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9903, allocations: 71.58 kB / 1.26 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.992, allocations: 0.8807 MB / 1.26 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.992, allocations: 4 kB / 1.26 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.992, allocations: 11.98 kB / 1.26 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.992, allocations: 0 / 1.26 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.995, allocations: 1.717 MB / 1.262 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.995, allocations: 0 / 1.262 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.9953, allocations: 67.83 kB / 1.262 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007964/0.9961, allocations: 267.4 kB / 1.262 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.9961, allocations: 8 kB / 1.262 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/1.004, allocations: 7.128 MB / 1.269 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.004, allocations: 4.031 kB / 1.269 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.005, allocations: 0.976 MB / 1.27 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/1.006, allocations: 196.6 kB / 1.271 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/1.006, allocations: 11.98 kB / 1.271 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/1.006, allocations: 35.91 kB / 1.271 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.006, allocations: 35.95 kB / 1.271 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/1.007, allocations: 19.98 kB / 1.271 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005124/1.007, allocations: 383.1 kB / 1.271 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/1.007, allocations: 4 kB / 1.271 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008844/1.008, allocations: 224 kB / 1.271 GB, free: 14.88 MB / 0.9825 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.0001965/1.008, allocations: 119.1 kB / 1.271 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002215/1.01, allocations: 1.232 MB / 1.273 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.01, allocations: 0 / 1.273 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.012, allocations: 0.8701 MB / 1.273 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.013, allocations: 222.6 kB / 1.274 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/1.015, allocations: 1.344 MB / 1.275 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/1.016, allocations: 1.012 MB / 1.276 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000385/1.016, allocations: 122 kB / 1.276 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/1.017, allocations: 39.44 kB / 1.276 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of SimCode: time 8.91e-07/1.017, allocations: 0 / 1.276 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.02311/1.04, allocations: 11.68 MB / 1.288 GB, free: 14.19 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.31035853875801]