Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001833/0.001833, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002367/0.002367, allocations: 222.3 kB / 23 MB, free: 4.91 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.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.326/3.326, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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,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.|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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.|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") [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.002162/0.002162, allocations: 65.84 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3875, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01543/0.4029, allocations: 10.34 MB / 1.375 GB, free: 3.195 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.4183, allocations: 8.496 MB / 1.383 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.4199, allocations: 87.25 kB / 1.383 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004902/0.4248, allocations: 1.672 MB / 1.385 GB, free: 8.914 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.43, allocations: 1.572 MB / 1.386 GB, free: 7.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.432, allocations: 0.6744 MB / 1.387 GB, free: 6.664 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00344/0.4355, allocations: 2.285 MB / 1.389 GB, free: 4.371 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.4373, allocations: 1.145 MB / 1.39 GB, free: 3.188 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.4395, allocations: 1.184 MB / 1.391 GB, free: 2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.441, allocations: 0.9218 MB / 1.392 GB, free: 1.074 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.4412, allocations: 136 kB / 1.392 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.4428, allocations: 0.733 MB / 1.393 GB, free: 212 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006407/0.4435, allocations: 0.5841 MB / 1.394 GB, free: 15.62 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008975/0.4444, allocations: 0.7191 MB / 1.394 GB, free: 14.9 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.4478, allocations: 2.572 MB / 1.397 GB, free: 12.32 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4478, allocations: 0 / 1.397 GB, free: 12.32 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4478, allocations: 0 / 1.397 GB, free: 12.32 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.93e-05/0.4479, allocations: 3.938 kB / 1.397 GB, free: 12.31 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003774/0.4516, allocations: 1.987 MB / 1.399 GB, free: 10.29 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4517, allocations: 8.031 kB / 1.399 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.4629, allocations: 2.055 MB / 1.401 GB, free: 8.219 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.4659, allocations: 1.133 MB / 1.402 GB, free: 7.035 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.089e-05/0.466, allocations: 86.7 kB / 1.402 GB, free: 6.949 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.4663, allocations: 120.1 kB / 1.402 GB, free: 6.832 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006161/0.4725, allocations: 2.697 MB / 1.405 GB, free: 3.938 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.4725, allocations: 3.938 kB / 1.405 GB, free: 3.934 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.4727, allocations: 52 kB / 1.405 GB, free: 3.883 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/0.473, allocations: 126.1 kB / 1.405 GB, free: 3.758 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007698/0.4807, allocations: 2.545 MB / 1.408 GB, free: 1.203 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.4947, allocations: 7.476 MB / 1.415 GB, free: 9.562 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006323/0.501, allocations: 1.85 MB / 1.417 GB, free: 7.703 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.5039, allocations: 0.9486 MB / 1.418 GB, free: 6.754 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.5039, allocations: 8.438 kB / 1.418 GB, free: 6.746 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.504, allocations: 39 kB / 1.418 GB, free: 6.699 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 2.795e-06/0.504, allocations: 0 / 1.418 GB, free: 6.699 MB / 1.107 GB Notification: Performance of matching and sorting (n=81): time 0.03229/0.5363, allocations: 9.11 MB / 1.426 GB, free: 13.55 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.5363, allocations: 60.06 kB / 1.427 GB, free: 13.48 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.5378, allocations: 0.9554 MB / 1.427 GB, free: 12.51 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.538, allocations: 41.7 kB / 1.428 GB, free: 12.46 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.5386, allocations: 0.7619 MB / 1.428 GB, free: 11.7 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.5389, allocations: 293.5 kB / 1.429 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003919/0.5393, allocations: 202.5 kB / 1.429 GB, free: 11.2 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5395, allocations: 349.9 kB / 1.429 GB, free: 10.86 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/0.5425, allocations: 1.083 MB / 1.43 GB, free: 9.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/0.5458, allocations: 1.317 MB / 1.431 GB, free: 8.363 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006274/0.552, allocations: 2.401 MB / 1.434 GB, free: 5.867 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.552, allocations: 8 kB / 1.434 GB, free: 5.859 MB / 1.123 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009254/0.5613, allocations: 3.274 MB / 1.437 GB, free: 2.547 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.5613, allocations: 16.09 kB / 1.437 GB, free: 2.531 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.5613, allocations: 8 kB / 1.437 GB, free: 2.523 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.5644, allocations: 0.8419 MB / 1.438 GB, free: 1.656 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.5664, allocations: 423.2 kB / 1.438 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.5835, allocations: 15.02 MB / 1.453 GB, free: 1.391 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.5858, allocations: 295.5 kB / 1.453 GB, free: 1.102 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.586, allocations: 55.89 kB / 1.453 GB, free: 1.047 MB / 1.139 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007934/0.5868, allocations: 402.6 kB / 1.454 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.587, allocations: 131.2 kB / 1.454 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008926/0.5959, allocations: 3.204 MB / 1.457 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.5959, allocations: 12 kB / 1.457 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/0.596, allocations: 11.98 kB / 1.457 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.596, allocations: 3.984 kB / 1.457 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.6078, allocations: 4.515 MB / 1.461 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.6078, allocations: 11.97 kB / 1.461 GB, free: 8.625 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.6095, allocations: 351.4 kB / 1.462 GB, free: 8.281 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.6122, allocations: 0.78 MB / 1.462 GB, free: 7.477 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.6123, allocations: 31.97 kB / 1.462 GB, free: 7.445 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.6289, allocations: 14.64 MB / 1.477 GB, free: 7.98 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6289, allocations: 4.031 kB / 1.477 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00856/0.6374, allocations: 3.043 MB / 1.48 GB, free: 4.855 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.6385, allocations: 306.9 kB / 1.48 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.6387, allocations: 16 kB / 1.48 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.6405, allocations: 291.5 kB / 1.48 GB, free: 4.254 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.6408, allocations: 84.44 kB / 1.48 GB, free: 4.172 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.6409, allocations: 40.16 kB / 1.48 GB, free: 4.133 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009186/0.6418, allocations: 0.6384 MB / 1.481 GB, free: 3.488 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6418, allocations: 0 / 1.481 GB, free: 3.488 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001526/0.6433, allocations: 436 kB / 1.481 GB, free: 3.062 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002752/0.6436, allocations: 135 kB / 1.482 GB, free: 2.922 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008899/0.6525, allocations: 3.554 MB / 1.485 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/0.6525, allocations: 4 kB / 1.485 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005354/0.6579, allocations: 2.324 MB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.6601, allocations: 492 kB / 1.488 GB, free: 12.38 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009909/0.67, allocations: 3.893 MB / 1.492 GB, free: 8.418 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.671, allocations: 0.8015 MB / 1.492 GB, free: 7.574 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.6716, allocations: 115.3 kB / 1.492 GB, free: 7.461 MB / 1.186 GB Notification: Performance of SimCode: time 1.683e-06/0.6716, allocations: 0 / 1.492 GB, free: 7.461 MB / 1.186 GB Notification: Performance of Templates: time 0.08647/0.7581, allocations: 75.02 MB / 1.566 GB, free: 12.48 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 18.165841908194125]