Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001688/0.001688, allocations: 112.4 kB / 17.08 MB, free: 5.789 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.001892/0.001892, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 489.3 MB / 0.7687 GB, free: 3.82 MB / 0.6075 GB " [Timeout remaining time 176] 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_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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 1.103 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008593/1.107, allocations: 6.74 MB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005356/1.112, allocations: 3.042 MB / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007193/1.113, allocations: 24.03 kB / 1.272 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/1.115, allocations: 0.9613 MB / 1.273 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/1.117, allocations: 0.4952 MB / 1.274 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/1.118, allocations: 416.9 kB / 1.274 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001674/1.12, allocations: 1.227 MB / 1.275 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/1.121, allocations: 0.6609 MB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008334/1.122, allocations: 469.6 kB / 1.276 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007766/1.123, allocations: 0.5192 MB / 1.277 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/1.123, allocations: 70.72 kB / 1.277 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009349/1.124, allocations: 377 kB / 1.277 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000424/1.124, allocations: 306.8 kB / 1.277 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005723/1.125, allocations: 456.1 kB / 1.278 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/1.127, allocations: 1.213 MB / 1.279 GB, free: 14.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.127, allocations: 0.6562 kB / 1.279 GB, free: 14.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.794e-06/1.127, allocations: 1.281 kB / 1.279 GB, free: 14.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.034e-05/1.127, allocations: 0 / 1.279 GB, free: 14.09 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002258/1.129, allocations: 1.181 MB / 1.28 GB, free: 13.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.129, allocations: 12.25 kB / 1.28 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/1.131, allocations: 247.1 kB / 1.281 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.132, allocations: 0.5936 MB / 1.281 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/1.132, allocations: 51.17 kB / 1.281 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.132, allocations: 72.86 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/1.134, allocations: 1.078 MB / 1.282 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/1.134, allocations: 11.14 kB / 1.282 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/1.134, allocations: 37.3 kB / 1.282 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/1.134, allocations: 84.55 kB / 1.282 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/1.135, allocations: 0.7541 MB / 1.283 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006534/1.142, allocations: 5.872 MB / 1.289 GB, free: 6.832 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/1.143, allocations: 0.5567 MB / 1.289 GB, free: 6.613 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/1.143, allocations: 324.4 kB / 1.29 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/1.144, allocations: 9.141 kB / 1.29 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/1.144, allocations: 46.34 kB / 1.29 GB, free: 6.434 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.946e-06/1.144, allocations: 0 / 1.29 GB, free: 6.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004398/1.148, allocations: 1.998 MB / 1.292 GB, free: 5.367 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.148, allocations: 64.66 kB / 1.292 GB, free: 5.297 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.149, allocations: 0.5505 MB / 1.292 GB, free: 5.043 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.864e-05/1.149, allocations: 36.42 kB / 1.292 GB, free: 5.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/1.149, allocations: 422.9 kB / 1.293 GB, free: 4.664 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/1.15, allocations: 180.2 kB / 1.293 GB, free: 4.523 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.15, allocations: 124.1 kB / 1.293 GB, free: 4.457 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.15, allocations: 378.6 kB / 1.293 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/1.151, allocations: 274.4 kB / 1.294 GB, free: 4.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/1.151, allocations: 498.1 kB / 1.294 GB, free: 3.641 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.152, allocations: 0.8102 MB / 1.295 GB, free: 3.102 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.152, allocations: 2.719 kB / 1.295 GB, free: 3.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002113/1.155, allocations: 1.092 MB / 1.296 GB, free: 2.629 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.155, allocations: 8.312 kB / 1.296 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.155, allocations: 7.281 kB / 1.296 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009654/1.156, allocations: 280.8 kB / 1.296 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/1.156, allocations: 126 kB / 1.296 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00781/1.164, allocations: 7.148 MB / 1.303 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/1.165, allocations: 43 kB / 1.303 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/1.165, allocations: 28.16 kB / 1.303 GB, free: 12.26 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 (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.0005004/1.165, allocations: 259.4 kB / 1.304 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/1.165, allocations: 71.98 kB / 1.304 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/1.167, allocations: 0.8876 MB / 1.305 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/1.167, allocations: 5.094 kB / 1.305 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.167, allocations: 8.953 kB / 1.305 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.167, allocations: 2.438 kB / 1.305 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/1.17, allocations: 1.709 MB / 1.306 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.17, allocations: 1.906 kB / 1.306 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/1.171, allocations: 67.91 kB / 1.306 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008351/1.171, allocations: 265.8 kB / 1.307 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/1.171, allocations: 12.47 kB / 1.307 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007735/1.179, allocations: 7.136 MB / 1.314 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.179, allocations: 6.562 kB / 1.314 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/1.181, allocations: 0.9917 MB / 1.315 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/1.182, allocations: 193.3 kB / 1.315 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/1.182, allocations: 12.36 kB / 1.315 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/1.182, allocations: 35.81 kB / 1.315 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.183, allocations: 43.55 kB / 1.315 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/1.183, allocations: 15.42 kB / 1.315 GB, free: 3.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007043/1.183, allocations: 386 kB / 1.315 GB, free: 3.539 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.183, allocations: 4 kB / 1.315 GB, free: 3.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001267/1.185, allocations: 220.8 kB / 1.315 GB, free: 3.516 MB / 1.029 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.0002158/1.185, allocations: 117.1 kB / 1.316 GB, free: 3.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002458/1.187, allocations: 1.278 MB / 1.317 GB, free: 2.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.187, allocations: 0 / 1.317 GB, free: 2.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.189, allocations: 0.889 MB / 1.318 GB, free: 2.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.19, allocations: 219.3 kB / 1.318 GB, free: 1.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/1.193, allocations: 1.397 MB / 1.319 GB, free: 1.211 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/1.194, allocations: 1.011 MB / 1.32 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/1.194, allocations: 49.98 kB / 1.32 GB, free: 472 kB / 1.029 GB Notification: Performance of SimCode: time 1.664e-06/1.194, allocations: 0 / 1.32 GB, free: 472 kB / 1.029 GB Notification: Performance of Templates: time 0.03733/1.232, allocations: 20.7 MB / 1.341 GB, free: 9.898 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.77005560300313]