Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 105.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.09/3.09, allocations: 489.7 MB / 0.7761 GB, free: 33.52 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=500,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 77.03 kB / 1.127 GB, free: 36.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3704, allocations: 172.1 MB / 1.295 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008459/0.3789, allocations: 6.182 MB / 1.301 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005619/0.3845, allocations: 3.184 MB / 1.304 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.3851, allocations: 27.81 kB / 1.304 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.3877, allocations: 0.9337 MB / 1.305 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.3892, allocations: 497.5 kB / 1.305 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3906, allocations: 486.4 kB / 1.306 GB, free: 412 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.3921, allocations: 1.096 MB / 1.307 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009091/0.393, allocations: 0.5257 MB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.3937, allocations: 438.3 kB / 1.308 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.3944, allocations: 0.4981 MB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.3945, allocations: 64 kB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3955, allocations: 499 kB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.3958, allocations: 287.2 kB / 1.309 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.3962, allocations: 401.9 kB / 1.31 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3978, allocations: 1.179 MB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3978, allocations: 0 / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3978, allocations: 0 / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.3978, allocations: 0 / 1.311 GB, free: 11.43 MB / 1.014 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.001807/0.3996, allocations: 1.078 MB / 1.312 GB, free: 10.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3997, allocations: 12.03 kB / 1.312 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.4012, allocations: 224.1 kB / 1.312 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/0.4022, allocations: 0.5887 MB / 1.313 GB, free: 9.445 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.4022, allocations: 53.66 kB / 1.313 GB, free: 9.395 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4023, allocations: 64.36 kB / 1.313 GB, free: 9.332 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.4038, allocations: 1.022 MB / 1.314 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.4039, allocations: 15.92 kB / 1.314 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.4039, allocations: 27.98 kB / 1.314 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/0.404, allocations: 65.28 kB / 1.314 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4051, allocations: 0.6957 MB / 1.314 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005576/0.4107, allocations: 5.734 MB / 1.32 GB, free: 1.234 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.4116, allocations: 0.555 MB / 1.321 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.4124, allocations: 392.6 kB / 1.321 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.4124, allocations: 4 kB / 1.321 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.4124, allocations: 38.56 kB / 1.321 GB, free: 200 kB / 1.014 GB Notification: Performance of pre-optimization done (n=41): time 2.234e-06/0.4124, allocations: 0 / 1.321 GB, free: 200 kB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.004407/0.4168, allocations: 2.012 MB / 1.323 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4169, allocations: 59.41 kB / 1.323 GB, free: 14.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.4174, allocations: 462.7 kB / 1.323 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.4175, allocations: 33.7 kB / 1.324 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.4177, allocations: 396 kB / 1.324 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.4179, allocations: 154.7 kB / 1.324 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.4181, allocations: 114.3 kB / 1.324 GB, free: 12.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4182, allocations: 362.8 kB / 1.324 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.4186, allocations: 237.2 kB / 1.325 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.4191, allocations: 461 kB / 1.325 GB, free: 11.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/0.4201, allocations: 0.7402 MB / 1.326 GB, free: 10.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4201, allocations: 7.938 kB / 1.326 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001938/0.422, allocations: 1.039 MB / 1.327 GB, free: 9.816 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.422, allocations: 8 kB / 1.327 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.422, allocations: 8 kB / 1.327 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4231, allocations: 327.2 kB / 1.327 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.4234, allocations: 87.89 kB / 1.327 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007761/0.4312, allocations: 7.474 MB / 1.335 GB, free: 1.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.4317, allocations: 32.02 kB / 1.335 GB, free: 1.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.4317, allocations: 27.94 kB / 1.335 GB, free: 1.285 MB / 1.029 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.0004255/0.4322, allocations: 246.9 kB / 1.335 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4323, allocations: 63.56 kB / 1.335 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.4341, allocations: 0.8808 MB / 1.336 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4341, allocations: 4 kB / 1.336 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.4341, allocations: 4 kB / 1.336 GB, free: 60 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4341, allocations: 3.984 kB / 1.336 GB, free: 56 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.437, allocations: 1.663 MB / 1.337 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.437, allocations: 4 kB / 1.337 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.4372, allocations: 47.91 kB / 1.338 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009396/0.4381, allocations: 311.3 kB / 1.338 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.4381, allocations: 12 kB / 1.338 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/0.4459, allocations: 7.46 MB / 1.345 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.4459, allocations: 7.875 kB / 1.345 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.4477, allocations: 0.9764 MB / 1.346 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.448, allocations: 172.7 kB / 1.346 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.4481, allocations: 15.94 kB / 1.346 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.4484, allocations: 23.97 kB / 1.346 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4485, allocations: 43.83 kB / 1.346 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.4485, allocations: 12 kB / 1.346 GB, free: 4.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003962/0.4489, allocations: 306.9 kB / 1.347 GB, free: 4.297 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4489, allocations: 4 kB / 1.347 GB, free: 4.293 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008922/0.4498, allocations: 192 kB / 1.347 GB, free: 4.105 MB / 1.045 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.0001837/0.45, allocations: 115.4 kB / 1.347 GB, free: 3.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.452, allocations: 1.153 MB / 1.348 GB, free: 2.777 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.452, allocations: 4.062 kB / 1.348 GB, free: 2.773 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4533, allocations: 0.8344 MB / 1.349 GB, free: 1.887 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.4543, allocations: 215.5 kB / 1.349 GB, free: 1.688 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.4569, allocations: 1.304 MB / 1.35 GB, free: 340 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.4577, allocations: 0.9959 MB / 1.351 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4578, allocations: 35.44 kB / 1.351 GB, free: 15.27 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/0.4578, allocations: 0 / 1.351 GB, free: 15.27 MB / 1.061 GB Notification: Performance of Templates: time 0.02529/0.4831, allocations: 18.5 MB / 1.369 GB, free: 12.8 MB / 1.076 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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