Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001899/0.001899, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.002221/0.002221, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.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.65/2.65, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002879/0.002879, allocations: 67.91 kB / 1.057 GB, free: 2.012 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4034, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009173/0.4126, allocations: 6.187 MB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005936/0.4185, allocations: 3.176 MB / 1.223 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005928/0.4191, allocations: 27.81 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.4217, allocations: 0.9493 MB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.4231, allocations: 497.5 kB / 1.225 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.4245, allocations: 474.7 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.4259, allocations: 1.096 MB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.4267, allocations: 0.5255 MB / 1.227 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006878/0.4274, allocations: 442.4 kB / 1.227 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007715/0.4282, allocations: 498.1 kB / 1.228 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4283, allocations: 64 kB / 1.228 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.4293, allocations: 0.4912 MB / 1.228 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/0.4297, allocations: 291.1 kB / 1.228 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.4301, allocations: 401.9 kB / 1.229 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.4317, allocations: 1.167 MB / 1.23 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.4317, allocations: 3.984 kB / 1.23 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4317, allocations: 0 / 1.23 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.4318, allocations: 4 kB / 1.23 GB, free: 0.668 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001938/0.4337, allocations: 1.07 MB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4337, allocations: 11.98 kB / 1.231 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.4353, allocations: 228.1 kB / 1.231 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/0.4362, allocations: 0.5848 MB / 1.232 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.4363, allocations: 53.67 kB / 1.232 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.4364, allocations: 64.36 kB / 1.232 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.438, allocations: 1.03 MB / 1.233 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.438, allocations: 11.89 kB / 1.233 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.4381, allocations: 35.92 kB / 1.233 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.4382, allocations: 65.27 kB / 1.233 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.4393, allocations: 0.6957 MB / 1.234 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005937/0.4453, allocations: 5.745 MB / 1.239 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/0.4462, allocations: 0.5513 MB / 1.24 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008355/0.447, allocations: 384.6 kB / 1.24 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.4471, allocations: 4.688 kB / 1.24 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.4471, allocations: 38.56 kB / 1.24 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=41): time 2.685e-06/0.4471, allocations: 0 / 1.24 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.004795/0.4519, allocations: 2.015 MB / 1.242 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.452, allocations: 63.34 kB / 1.242 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.4525, allocations: 454.7 kB / 1.243 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.4526, allocations: 33.7 kB / 1.243 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.4529, allocations: 396.1 kB / 1.243 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.453, allocations: 154.7 kB / 1.243 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.4532, allocations: 114.2 kB / 1.243 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4534, allocations: 358.8 kB / 1.244 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.4538, allocations: 249.2 kB / 1.244 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.4544, allocations: 449 kB / 1.244 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.4554, allocations: 0.7478 MB / 1.245 GB, free: 112 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4554, allocations: 0 / 1.245 GB, free: 112 kB / 0.9825 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002074/0.4575, allocations: 1.039 MB / 1.246 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4575, allocations: 8 kB / 1.246 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4576, allocations: 8 kB / 1.246 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4587, allocations: 323.2 kB / 1.246 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.459, allocations: 99.81 kB / 1.247 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008487/0.4675, allocations: 7.475 MB / 1.254 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.468, allocations: 36.02 kB / 1.254 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.4681, allocations: 28 kB / 1.254 GB, free: 6.508 MB / 0.9981 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000414/0.4685, allocations: 241.6 kB / 1.254 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4686, allocations: 67.5 kB / 1.254 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.4705, allocations: 0.8769 MB / 1.255 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4705, allocations: 4 kB / 1.255 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4705, allocations: 4 kB / 1.255 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4705, allocations: 7.984 kB / 1.255 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.4734, allocations: 1.653 MB / 1.257 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4734, allocations: 0 / 1.257 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4736, allocations: 47.89 kB / 1.257 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009838/0.4745, allocations: 307.3 kB / 1.257 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.4746, allocations: 8.062 kB / 1.257 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7455/1.22, allocations: 7.469 MB / 1.264 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.22, allocations: 0 / 1.264 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/1.222, allocations: 0.9808 MB / 1.265 GB, free: 44.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/1.222, allocations: 177.2 kB / 1.265 GB, free: 44.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/1.222, allocations: 8.188 kB / 1.265 GB, free: 44.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/1.222, allocations: 23.58 kB / 1.265 GB, free: 44.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.222, allocations: 49.45 kB / 1.266 GB, free: 44.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/1.222, allocations: 9.344 kB / 1.266 GB, free: 44.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003008/1.223, allocations: 310 kB / 1.266 GB, free: 44.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.223, allocations: 0 / 1.266 GB, free: 44.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007756/1.223, allocations: 196.7 kB / 1.266 GB, free: 44.18 MB / 0.9981 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001346/1.224, allocations: 120.8 kB / 1.266 GB, free: 44.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001631/1.225, allocations: 1.155 MB / 1.267 GB, free: 43.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.225, allocations: 0 / 1.267 GB, free: 43.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.226, allocations: 0.8279 MB / 1.268 GB, free: 43.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/1.227, allocations: 206.9 kB / 1.268 GB, free: 43.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.229, allocations: 1.3 MB / 1.27 GB, free: 42.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/1.23, allocations: 0.9911 MB / 1.27 GB, free: 41.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/1.23, allocations: 40.84 kB / 1.271 GB, free: 41.91 MB / 0.9981 GB Notification: Performance of SimCode: time 9.11e-07/1.23, allocations: 2.875 kB / 1.271 GB, free: 41.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.03548/1.265, allocations: 18.5 MB / 1.289 GB, free: 40.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.481063117040321]