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.002118/0.002118, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002754/0.002754, allocations: 165.7 kB / 23.55 MB, free: 0.8828 MB / 18.57 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.472/1.472, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.822/2.822, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.995e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01013/0.01016, allocations: 6.402 MB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006021/0.01618, allocations: 2.991 MB / 0.82 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006685/0.01685, allocations: 40.34 kB / 0.82 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.01993, allocations: 0.9568 MB / 0.821 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.02161, allocations: 0.5326 MB / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.02292, allocations: 436 kB / 0.8219 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.02525, allocations: 1.259 MB / 0.8231 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.02665, allocations: 0.5256 MB / 0.8236 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.02847, allocations: 0.6624 MB / 0.8243 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.02965, allocations: 482.7 kB / 0.8247 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.0299, allocations: 68 kB / 0.8248 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.03096, allocations: 351.1 kB / 0.8251 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005559/0.03151, allocations: 332.4 kB / 0.8255 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000735/0.03225, allocations: 311.2 kB / 0.8258 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.03465, allocations: 1.242 MB / 0.827 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.03466, allocations: 4 kB / 0.827 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.044e-06/0.03466, allocations: 0.625 kB / 0.827 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.802e-05/0.03472, allocations: 0 / 0.827 GB, free: 1.535 MB / 0.7761 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.00305/0.03777, allocations: 1.099 MB / 0.828 GB, free: 416 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.03781, allocations: 8.688 kB / 0.8281 GB, free: 408 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.03979, allocations: 344.3 kB / 0.8284 GB, free: 68 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.04107, allocations: 0.5551 MB / 0.8289 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.04113, allocations: 49.67 kB / 0.829 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.04129, allocations: 69.02 kB / 0.829 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.04369, allocations: 1.329 MB / 0.8303 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.04374, allocations: 15.11 kB / 0.8303 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.04383, allocations: 32.36 kB / 0.8304 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.04402, allocations: 89.19 kB / 0.8305 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.04556, allocations: 0.7465 MB / 0.8312 GB, free: 13 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/0.05247, allocations: 4.536 MB / 0.8356 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.05391, allocations: 0.5049 MB / 0.8361 GB, free: 7.793 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.05451, allocations: 285.2 kB / 0.8364 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.05456, allocations: 12.5 kB / 0.8364 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.05462, allocations: 39.06 kB / 0.8364 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 4.508e-06/0.05462, allocations: 0 / 0.8364 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.005002/0.05962, allocations: 1.697 MB / 0.8381 GB, free: 5.742 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.05968, allocations: 59.91 kB / 0.8382 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.06057, allocations: 0.5027 MB / 0.8386 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.06063, allocations: 37.7 kB / 0.8387 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.06111, allocations: 427.8 kB / 0.8391 GB, free: 4.695 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.06136, allocations: 178.5 kB / 0.8393 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.06164, allocations: 126.6 kB / 0.8394 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000262/0.0619, allocations: 366.8 kB / 0.8397 GB, free: 4.023 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.06243, allocations: 273.8 kB / 0.84 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.06321, allocations: 493.7 kB / 0.8405 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.06457, allocations: 0.8164 MB / 0.8413 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.06458, allocations: 0 / 0.8413 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002463/0.06704, allocations: 1.109 MB / 0.8423 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.06707, allocations: 8 kB / 0.8423 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.06709, allocations: 8 kB / 0.8424 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.0688, allocations: 375.1 kB / 0.8427 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.06932, allocations: 123.8 kB / 0.8428 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/0.07745, allocations: 6.607 MB / 0.8493 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/0.0781, allocations: 39.97 kB / 0.8493 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-05/0.07819, allocations: 32.17 kB / 0.8494 GB, free: 9.535 MB / 0.8073 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.0004461/0.07864, allocations: 249.7 kB / 0.8496 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.07884, allocations: 95.55 kB / 0.8497 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.08066, allocations: 0.87 MB / 0.8505 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.08067, allocations: 8 kB / 0.8505 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.08068, allocations: 0 / 0.8505 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.08069, allocations: 7.984 kB / 0.8505 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.08377, allocations: 1.525 MB / 0.852 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.08377, allocations: 4 kB / 0.852 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.08407, allocations: 63.88 kB / 0.8521 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.08562, allocations: 355.3 kB / 0.8524 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.08566, allocations: 15.98 kB / 0.8525 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008029/0.09369, allocations: 6.607 MB / 0.8589 GB, free: 15.22 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.0937, allocations: 4.031 kB / 0.8589 GB, free: 15.22 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.09568, allocations: 0.9819 MB / 0.8599 GB, free: 14.19 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.09604, allocations: 115.5 kB / 0.86 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.09616, allocations: 12 kB / 0.86 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.09659, allocations: 31.97 kB / 0.86 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.09674, allocations: 55.84 kB / 0.8601 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.09678, allocations: 12 kB / 0.8601 GB, free: 13.97 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004871/0.09727, allocations: 338.9 kB / 0.8604 GB, free: 13.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.09727, allocations: 0 / 0.8604 GB, free: 13.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009467/0.09821, allocations: 224 kB / 0.8606 GB, free: 13.42 MB / 0.823 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.0001906/0.0984, allocations: 111.2 kB / 0.8607 GB, free: 13.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.1007, allocations: 1.246 MB / 0.8619 GB, free: 12.01 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1007, allocations: 0 / 0.8619 GB, free: 12.01 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.1022, allocations: 0.8616 MB / 0.8628 GB, free: 11.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.1033, allocations: 196.3 kB / 0.863 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.1061, allocations: 1.365 MB / 0.8643 GB, free: 9.488 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.1068, allocations: 419 kB / 0.8647 GB, free: 9.055 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004236/0.1072, allocations: 113.4 kB / 0.8648 GB, free: 8.941 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.1073, allocations: 40.5 kB / 0.8649 GB, free: 8.902 MB / 0.823 GB Notification: Performance of SimCode: time 1.312e-06/0.1073, allocations: 0 / 0.8649 GB, free: 8.902 MB / 0.823 GB Notification: Performance of Templates: time 0.02283/0.1302, allocations: 11.32 MB / 0.8759 GB, free: 13.84 MB / 0.8386 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/jenkins/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: 8.204553765943274]