Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001958/0.001958, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002877/0.002877, allocations: 221.6 kB / 23 MB, free: 4.918 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.255/3.255, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 72.83 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3965, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008253/0.4047, allocations: 5.919 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005539/0.4102, allocations: 3.122 MB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.4108, allocations: 43.62 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.4135, allocations: 0.9368 MB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.4149, allocations: 497.5 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.4161, allocations: 486.8 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.4174, allocations: 1.093 MB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000826/0.4182, allocations: 0.51 MB / 1.339 GB, free: 5.262 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007012/0.4189, allocations: 458.4 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006515/0.4196, allocations: 470.1 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-05/0.4197, allocations: 56 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008409/0.4205, allocations: 447 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.4208, allocations: 287.2 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.4211, allocations: 338.4 kB / 1.341 GB, free: 3.246 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.4225, allocations: 1.183 MB / 1.342 GB, free: 2.059 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.4225, allocations: 0 / 1.342 GB, free: 2.059 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4225, allocations: 3.938 kB / 1.342 GB, free: 2.055 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.4225, allocations: 0 / 1.342 GB, free: 2.055 MB / 1.029 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.001687/0.4242, allocations: 0.9987 MB / 1.343 GB, free: 1.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4243, allocations: 12.03 kB / 1.343 GB, free: 1.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.4257, allocations: 224.1 kB / 1.343 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009854/0.4267, allocations: 0.5088 MB / 1.343 GB, free: 264 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.4267, allocations: 45.67 kB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4268, allocations: 72.25 kB / 1.344 GB, free: 144 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.4284, allocations: 1.134 MB / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.4284, allocations: 7.938 kB / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.4284, allocations: 31.98 kB / 1.345 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.4286, allocations: 73.2 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.4296, allocations: 0.6918 MB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/0.4343, allocations: 4.402 MB / 1.35 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.4351, allocations: 416.6 kB / 1.35 GB, free: 9.094 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/0.4359, allocations: 385.4 kB / 1.35 GB, free: 8.715 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.4359, allocations: 4 kB / 1.35 GB, free: 8.711 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.436, allocations: 38.56 kB / 1.351 GB, free: 8.664 MB / 1.045 GB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.436, allocations: 0 / 1.351 GB, free: 8.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.004162/0.4401, allocations: 1.707 MB / 1.352 GB, free: 6.938 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.4402, allocations: 59.34 kB / 1.352 GB, free: 6.867 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.4406, allocations: 425.8 kB / 1.353 GB, free: 6.441 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.4407, allocations: 33.7 kB / 1.353 GB, free: 6.402 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.4409, allocations: 407.9 kB / 1.353 GB, free: 5.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4411, allocations: 150.7 kB / 1.353 GB, free: 5.848 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.4412, allocations: 114.2 kB / 1.353 GB, free: 5.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4414, allocations: 362.8 kB / 1.354 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.4418, allocations: 237.2 kB / 1.354 GB, free: 5.133 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.4423, allocations: 457.5 kB / 1.354 GB, free: 4.594 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/0.4433, allocations: 0.7562 MB / 1.355 GB, free: 3.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4433, allocations: 0 / 1.355 GB, free: 3.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001961/0.4452, allocations: 1.035 MB / 1.356 GB, free: 2.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.4453, allocations: 8 kB / 1.356 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4453, allocations: 4 kB / 1.356 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4463, allocations: 323.8 kB / 1.356 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.4467, allocations: 99.77 kB / 1.356 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007401/0.4541, allocations: 6.934 MB / 1.363 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.4545, allocations: 28.03 kB / 1.363 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.4546, allocations: 27.98 kB / 1.363 GB, free: 10.84 MB / 1.061 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.0004039/0.455, allocations: 247 kB / 1.364 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.552e-05/0.4551, allocations: 63.62 kB / 1.364 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.4567, allocations: 0.8727 MB / 1.364 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4568, allocations: 8 kB / 1.364 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4568, allocations: 8 kB / 1.364 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4568, allocations: 4.078 kB / 1.364 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.4593, allocations: 1.497 MB / 1.366 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4593, allocations: 0 / 1.366 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.4595, allocations: 43.91 kB / 1.366 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00088/0.4604, allocations: 311.4 kB / 1.366 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.4604, allocations: 12 kB / 1.366 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007197/0.4676, allocations: 6.928 MB / 1.373 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4676, allocations: 8 kB / 1.373 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4694, allocations: 0.9644 MB / 1.374 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.4697, allocations: 99.86 kB / 1.374 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.4697, allocations: 8 kB / 1.374 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.47, allocations: 27.91 kB / 1.374 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4701, allocations: 43.91 kB / 1.374 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.4701, allocations: 16 kB / 1.374 GB, free: 15.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003305/0.4705, allocations: 286.8 kB / 1.374 GB, free: 14.85 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4705, allocations: 0 / 1.374 GB, free: 14.85 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008056/0.4713, allocations: 192 kB / 1.375 GB, free: 14.66 MB / 1.076 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.0001644/0.4714, allocations: 111.2 kB / 1.375 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.4734, allocations: 1.156 MB / 1.376 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4734, allocations: 0 / 1.376 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.4746, allocations: 0.8306 MB / 1.377 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.4756, allocations: 199.2 kB / 1.377 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4778, allocations: 1.309 MB / 1.378 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.4782, allocations: 390.7 kB / 1.379 GB, free: 10.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.4783, allocations: 35.44 kB / 1.379 GB, free: 10.48 MB / 1.076 GB Notification: Performance of SimCode: time 1.212e-06/0.4783, allocations: 3.938 kB / 1.379 GB, free: 10.47 MB / 1.076 GB Notification: Performance of Templates: time 0.02449/0.5028, allocations: 18.62 MB / 1.397 GB, free: 7.883 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.527847944293171]