Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001903/0.001903, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002371/0.002371, allocations: 213 kB / 22.99 MB, free: 4.98 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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,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_12_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_12_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.002034/0.002034, allocations: 62.78 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01384/0.3213, allocations: 10.34 MB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.335, allocations: 8.503 MB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3362, allocations: 91.19 kB / 1.346 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004446/0.3407, allocations: 1.672 MB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.3448, allocations: 1.559 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.3465, allocations: 0.6822 MB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002865/0.3494, allocations: 2.28 MB / 1.352 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.351, allocations: 1.16 MB / 1.353 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.3528, allocations: 1.192 MB / 1.354 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.3541, allocations: 0.9882 MB / 1.355 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3543, allocations: 136 kB / 1.355 GB, free: 4.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3557, allocations: 0.7408 MB / 1.356 GB, free: 3.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005488/0.3562, allocations: 0.5763 MB / 1.356 GB, free: 2.895 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000766/0.357, allocations: 0.7153 MB / 1.357 GB, free: 2.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.3598, allocations: 2.572 MB / 1.359 GB, free: 15.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3598, allocations: 0 / 1.359 GB, free: 15.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3598, allocations: 4 kB / 1.36 GB, free: 15.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.3598, allocations: 3.938 kB / 1.36 GB, free: 15.59 MB / 1.061 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.003302/0.3631, allocations: 1.983 MB / 1.361 GB, free: 13.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3631, allocations: 12.03 kB / 1.361 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.3742, allocations: 2.055 MB / 1.363 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.3769, allocations: 1.126 MB / 1.365 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.3769, allocations: 82.7 kB / 1.365 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.3772, allocations: 120.1 kB / 1.365 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005753/0.383, allocations: 2.693 MB / 1.367 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.383, allocations: 15.88 kB / 1.367 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.3832, allocations: 55.98 kB / 1.367 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003513/0.3835, allocations: 130.1 kB / 1.368 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/0.3907, allocations: 2.545 MB / 1.37 GB, free: 4.473 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.4037, allocations: 7.469 MB / 1.377 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/0.4096, allocations: 1.848 MB / 1.379 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.4123, allocations: 0.9464 MB / 1.38 GB, free: 10.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.4124, allocations: 8.438 kB / 1.38 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.4124, allocations: 39 kB / 1.38 GB, free: 9.973 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.4124, allocations: 0 / 1.38 GB, free: 9.973 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03166/0.4441, allocations: 9.106 MB / 1.389 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.4441, allocations: 64.06 kB / 1.389 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4455, allocations: 0.9593 MB / 1.39 GB, free: 15.77 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.4456, allocations: 41.7 kB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/0.4462, allocations: 0.758 MB / 1.391 GB, free: 14.96 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.4465, allocations: 293.5 kB / 1.391 GB, free: 14.67 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.4469, allocations: 198.5 kB / 1.391 GB, free: 14.47 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.447, allocations: 345.9 kB / 1.392 GB, free: 14.13 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002935/0.45, allocations: 1.087 MB / 1.393 GB, free: 13.04 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/0.4531, allocations: 1.317 MB / 1.394 GB, free: 11.63 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006095/0.4592, allocations: 2.401 MB / 1.396 GB, free: 9.133 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.4592, allocations: 11.94 kB / 1.396 GB, free: 9.121 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009061/0.4683, allocations: 3.285 MB / 1.4 GB, free: 5.797 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4683, allocations: 8 kB / 1.4 GB, free: 5.789 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4683, allocations: 4 kB / 1.4 GB, free: 5.785 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/0.4716, allocations: 0.8465 MB / 1.4 GB, free: 4.914 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.4735, allocations: 423.2 kB / 1.401 GB, free: 4.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.4911, allocations: 15.02 MB / 1.415 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.4932, allocations: 291.5 kB / 1.416 GB, free: 4.371 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.4934, allocations: 51.95 kB / 1.416 GB, free: 4.32 MB / 1.107 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.0007376/0.4941, allocations: 405.5 kB / 1.416 GB, free: 3.914 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.4943, allocations: 135.2 kB / 1.416 GB, free: 3.781 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00903/0.5034, allocations: 3.204 MB / 1.419 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5034, allocations: 8 kB / 1.419 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.5034, allocations: 11.98 kB / 1.419 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5034, allocations: 3.984 kB / 1.419 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.5147, allocations: 4.527 MB / 1.424 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.5147, allocations: 4 kB / 1.424 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.5164, allocations: 355.7 kB / 1.424 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002901/0.5193, allocations: 0.772 MB / 1.425 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.88e-05/0.5194, allocations: 31.97 kB / 1.425 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.5359, allocations: 14.64 MB / 1.439 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5359, allocations: 7.938 kB / 1.439 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008179/0.5441, allocations: 3.047 MB / 1.442 GB, free: 8.113 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.5449, allocations: 306.8 kB / 1.443 GB, free: 7.812 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.5451, allocations: 16 kB / 1.443 GB, free: 7.797 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.5468, allocations: 299.5 kB / 1.443 GB, free: 7.504 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.5471, allocations: 84.44 kB / 1.443 GB, free: 7.422 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.5472, allocations: 35.91 kB / 1.443 GB, free: 7.387 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008679/0.548, allocations: 0.6424 MB / 1.444 GB, free: 6.738 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.548, allocations: 0 / 1.444 GB, free: 6.738 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001418/0.5495, allocations: 436 kB / 1.444 GB, free: 6.312 MB / 1.139 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.0002738/0.5497, allocations: 139 kB / 1.444 GB, free: 6.168 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008607/0.5583, allocations: 3.547 MB / 1.448 GB, free: 2.523 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5583, allocations: 4 kB / 1.448 GB, free: 2.52 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005025/0.5634, allocations: 2.328 MB / 1.45 GB, free: 92 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.5653, allocations: 497.2 kB / 1.45 GB, free: 15.63 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/0.5742, allocations: 3.781 MB / 1.454 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.5752, allocations: 0.8054 MB / 1.455 GB, free: 10.94 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5765, allocations: 362.6 kB / 1.455 GB, free: 10.58 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.5769, allocations: 103.3 kB / 1.455 GB, free: 10.48 MB / 1.154 GB Notification: Performance of SimCode: time 9.51e-07/0.5769, allocations: 0 / 1.455 GB, free: 10.48 MB / 1.154 GB Notification: Performance of Templates: time 0.05337/0.6302, allocations: 33.71 MB / 1.488 GB, free: 9.395 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.547376185000758]