Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001301/0.001301, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001336/0.001336, allocations: 200.7 kB / 22.17 MB, free: 5.211 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.405/1.405, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7453, allocations: 168.7 MB / 1.274 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009006/0.7543, allocations: 6.986 MB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005585/0.7599, allocations: 3.172 MB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.7605, allocations: 23.88 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.7633, allocations: 0.9772 MB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.7649, allocations: 0.5207 MB / 1.285 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.7661, allocations: 432.8 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.7677, allocations: 1.224 MB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.7685, allocations: 477 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.7691, allocations: 486.2 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007335/0.7699, allocations: 0.5449 MB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.816e-05/0.77, allocations: 67.94 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.7707, allocations: 391.2 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.771, allocations: 319.1 kB / 1.289 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.7714, allocations: 441.8 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.7727, allocations: 1.218 MB / 1.291 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.7727, allocations: 0 / 1.291 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7727, allocations: 0 / 1.291 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.7728, allocations: 0 / 1.291 GB, free: 3.098 MB / 0.9825 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.001943/0.7747, allocations: 1.183 MB / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.7747, allocations: 12.03 kB / 1.292 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.7763, allocations: 255.9 kB / 1.292 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/0.7772, allocations: 0.5887 MB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.7773, allocations: 53.67 kB / 1.293 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.7774, allocations: 64.31 kB / 1.293 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.7789, allocations: 1.085 MB / 1.294 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.7789, allocations: 7.938 kB / 1.294 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.779, allocations: 31.98 kB / 1.294 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.7792, allocations: 89.25 kB / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.7803, allocations: 0.7465 MB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005598/0.7859, allocations: 5.883 MB / 1.301 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009778/0.7869, allocations: 0.5125 MB / 1.301 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.7873, allocations: 289.1 kB / 1.301 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.7874, allocations: 8.438 kB / 1.301 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.7874, allocations: 35 kB / 1.301 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.053e-06/0.7874, allocations: 4 kB / 1.301 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003869/0.7913, allocations: 1.988 MB / 1.303 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.7913, allocations: 55.84 kB / 1.303 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.7919, allocations: 0.5587 MB / 1.304 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.792, allocations: 41.64 kB / 1.304 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.7923, allocations: 428 kB / 1.304 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.7924, allocations: 178.5 kB / 1.305 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.7926, allocations: 126.6 kB / 1.305 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.7928, allocations: 374.7 kB / 1.305 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.7932, allocations: 273.8 kB / 1.305 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.7938, allocations: 497 kB / 1.306 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.7949, allocations: 0.8094 MB / 1.307 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.7949, allocations: 4 kB / 1.307 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001838/0.7967, allocations: 1.076 MB / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7968, allocations: 8 kB / 1.308 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7968, allocations: 8 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008342/0.7976, allocations: 275.3 kB / 1.308 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.7981, allocations: 127.8 kB / 1.308 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006972/0.8051, allocations: 7.15 MB / 1.315 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.8057, allocations: 35.95 kB / 1.315 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.8057, allocations: 32 kB / 1.315 GB, free: 8.695 MB / 1.014 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.0003809/0.8061, allocations: 266 kB / 1.315 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.8062, allocations: 71.58 kB / 1.315 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.8078, allocations: 0.8729 MB / 1.316 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.8078, allocations: 4 kB / 1.316 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8078, allocations: 4 kB / 1.316 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.8078, allocations: 7.984 kB / 1.316 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.8106, allocations: 1.709 MB / 1.318 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.8106, allocations: 4 kB / 1.318 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.8109, allocations: 67.88 kB / 1.318 GB, free: 5.578 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007577/0.8116, allocations: 267.3 kB / 1.318 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.8117, allocations: 12 kB / 1.318 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007111/0.8188, allocations: 7.131 MB / 1.325 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8188, allocations: 4.031 kB / 1.325 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.8204, allocations: 0.9722 MB / 1.326 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.8208, allocations: 196.6 kB / 1.326 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.8208, allocations: 12 kB / 1.326 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.8212, allocations: 31.91 kB / 1.326 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8213, allocations: 47.88 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.8214, allocations: 16 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005012/0.8219, allocations: 379.1 kB / 1.327 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8219, allocations: 0 / 1.327 GB, free: 11.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008381/0.8227, allocations: 224 kB / 1.327 GB, free: 11.68 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.0001843/0.8229, allocations: 123.1 kB / 1.327 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.8249, allocations: 1.232 MB / 1.328 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8249, allocations: 0 / 1.328 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.8263, allocations: 0.8658 MB / 1.329 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.8273, allocations: 220 kB / 1.329 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.8295, allocations: 1.348 MB / 1.331 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.8303, allocations: 1.013 MB / 1.332 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003473/0.8306, allocations: 130 kB / 1.332 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.8308, allocations: 39.44 kB / 1.332 GB, free: 6.531 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.8308, allocations: 0 / 1.332 GB, free: 6.531 MB / 1.029 GB Notification: Performance of Templates: time 0.02103/0.8518, allocations: 11.67 MB / 1.343 GB, free: 10.99 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.658205443061888]