Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001576/0.001576, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001772/0.001772, allocations: 211.1 kB / 23 MB, free: 4.934 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.195/3.195, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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_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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.002011/0.002011, allocations: 62.88 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 176.1 MB / 1.327 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01209/0.3744, allocations: 6.472 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0066/0.381, allocations: 3.052 MB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.3817, allocations: 35.69 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.3846, allocations: 0.9525 MB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.3864, allocations: 0.5168 MB / 1.338 GB, free: 6.113 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3877, allocations: 428.5 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.3893, allocations: 1.229 MB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.3902, allocations: 0.5372 MB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007844/0.391, allocations: 0.4904 MB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.3919, allocations: 0.5448 MB / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.392, allocations: 72 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007899/0.3928, allocations: 343.3 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.3931, allocations: 319.1 kB / 1.342 GB, free: 2.156 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.3936, allocations: 378.2 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.3956, allocations: 1.222 MB / 1.343 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3956, allocations: 0 / 1.343 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3956, allocations: 0 / 1.343 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.3956, allocations: 0 / 1.343 GB, free: 0.5586 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002284/0.3979, allocations: 1.112 MB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.398, allocations: 12.03 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3996, allocations: 244.1 kB / 1.345 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.4007, allocations: 0.5191 MB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.4007, allocations: 53.61 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.4009, allocations: 68.36 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.4027, allocations: 1.336 MB / 1.347 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.4027, allocations: 3.938 kB / 1.347 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.4028, allocations: 31.98 kB / 1.347 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.403, allocations: 85.25 kB / 1.347 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.4042, allocations: 0.7543 MB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005622/0.4099, allocations: 4.523 MB / 1.352 GB, free: 7.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.4109, allocations: 0.5086 MB / 1.352 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.4113, allocations: 290 kB / 1.353 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.4113, allocations: 4.438 kB / 1.353 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4114, allocations: 43 kB / 1.353 GB, free: 6.578 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.145e-06/0.4114, allocations: 0 / 1.353 GB, free: 6.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003915/0.4153, allocations: 1.678 MB / 1.354 GB, free: 4.883 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4153, allocations: 63.78 kB / 1.354 GB, free: 4.809 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.4159, allocations: 0.5066 MB / 1.355 GB, free: 4.289 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.416, allocations: 33.7 kB / 1.355 GB, free: 4.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.4163, allocations: 423.9 kB / 1.355 GB, free: 3.832 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4165, allocations: 182.5 kB / 1.355 GB, free: 3.652 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.4167, allocations: 130.5 kB / 1.356 GB, free: 3.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.4169, allocations: 370.8 kB / 1.356 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.4174, allocations: 269.8 kB / 1.356 GB, free: 2.887 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.418, allocations: 493.4 kB / 1.357 GB, free: 2.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.4191, allocations: 0.8122 MB / 1.357 GB, free: 1.402 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4191, allocations: 8 kB / 1.357 GB, free: 1.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001922/0.4211, allocations: 1.07 MB / 1.358 GB, free: 308 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.4211, allocations: 11.94 kB / 1.358 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4211, allocations: 8 kB / 1.358 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/0.4221, allocations: 287.9 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.4226, allocations: 123.8 kB / 1.359 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00729/0.4298, allocations: 6.602 MB / 1.365 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006104/0.4305, allocations: 35.97 kB / 1.365 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.4305, allocations: 31.94 kB / 1.365 GB, free: 8.781 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 (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.0004244/0.4309, allocations: 249.6 kB / 1.366 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.431, allocations: 67.58 kB / 1.366 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.4327, allocations: 0.8763 MB / 1.367 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.4327, allocations: 7.984 kB / 1.367 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4327, allocations: 0 / 1.367 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.433, allocations: 103.5 kB / 1.367 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.4331, allocations: 12 kB / 1.367 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.4334, allocations: 35.89 kB / 1.367 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.4335, allocations: 40.34 kB / 1.367 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001993/0.4355, allocations: 0.9438 MB / 1.368 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001363/0.4369, allocations: 1.042 MB / 1.369 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003839/0.4373, allocations: 259.3 kB / 1.369 GB, free: 5.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000406/0.4377, allocations: 338.9 kB / 1.369 GB, free: 4.77 MB / 1.061 GB Notification: Performance of Backend: time 5.81e-07/0.4377, allocations: 0 / 1.369 GB, free: 4.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.4403, allocations: 1.266 MB / 1.37 GB, free: 3.449 MB / 1.061 GB Notification: Performance of SimCode: time 0.002765/0.443, allocations: 1.955 MB / 1.372 GB, free: 1.445 MB / 1.061 GB Notification: Performance of Templates: time 0.02503/0.4681, allocations: 14.63 MB / 1.387 GB, free: 3.039 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.531834640998568]