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.0007398/0.0007398, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001741, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007/0.0007, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008616/0.001562, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9105/0.9105, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08482/0.9953, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.38/2.38, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2741/2.654, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",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.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.412e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006948/0.006972, allocations: 7.87 MB / 0.826 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.009374/0.01635, allocations: 6.008 MB / 0.8319 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.01866, allocations: 87.19 kB / 0.8319 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.0198, allocations: 397 kB / 0.8323 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.02413, allocations: 1.536 MB / 0.8338 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.02548, allocations: 0.5575 MB / 0.8344 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003416/0.0289, allocations: 2.522 MB / 0.8368 GB, free: 15.85 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.03084, allocations: 1.133 MB / 0.8379 GB, free: 14.67 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003152/0.03399, allocations: 1.706 MB / 0.8396 GB, free: 12.96 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.03565, allocations: 0.9348 MB / 0.8405 GB, free: 12.03 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.03593, allocations: 132 kB / 0.8406 GB, free: 11.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.03672, allocations: 295.6 kB / 0.8409 GB, free: 11.61 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004433/0.03717, allocations: 0.5454 MB / 0.8415 GB, free: 11.06 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006307/0.0378, allocations: 0.5029 MB / 0.8419 GB, free: 10.56 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.03941, allocations: 1.335 MB / 0.8433 GB, free: 9.219 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.837e-05/0.03942, allocations: 3.938 kB / 0.8433 GB, free: 9.215 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.03943, allocations: 0 / 0.8433 GB, free: 9.215 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.073e-05/0.03948, allocations: 0 / 0.8433 GB, free: 9.215 MB / 0.823 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.002364/0.04184, allocations: 2.216 MB / 0.8454 GB, free: 6.965 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.04188, allocations: 8.625 kB / 0.8454 GB, free: 6.957 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.04484, allocations: 0.8677 MB / 0.8463 GB, free: 6.07 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.04625, allocations: 1.037 MB / 0.8473 GB, free: 4.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.04631, allocations: 98.66 kB / 0.8474 GB, free: 4.883 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/0.04676, allocations: 124.3 kB / 0.8475 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.04846, allocations: 1.534 MB / 0.849 GB, free: 3.027 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.04849, allocations: 7.938 kB / 0.849 GB, free: 3.02 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.989e-05/0.04858, allocations: 51.98 kB / 0.8491 GB, free: 2.969 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.04875, allocations: 110.2 kB / 0.8492 GB, free: 2.859 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.04947, allocations: 0.5262 MB / 0.8497 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.05475, allocations: 5.309 MB / 0.8549 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.05556, allocations: 407.9 kB / 0.8552 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.05578, allocations: 161 kB / 0.8554 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.05582, allocations: 12.5 kB / 0.8554 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.05584, allocations: 39.06 kB / 0.8555 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 3.536e-06/0.05585, allocations: 0 / 0.8555 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.003748/0.0596, allocations: 1.836 MB / 0.8572 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.05963, allocations: 63.84 kB / 0.8573 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.06021, allocations: 0.8472 MB / 0.8581 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.06027, allocations: 33.7 kB / 0.8582 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.06052, allocations: 0.5994 MB / 0.8588 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.06065, allocations: 198.3 kB / 0.8589 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.06084, allocations: 154.5 kB / 0.8591 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.06093, allocations: 333.9 kB / 0.8594 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.06112, allocations: 153.9 kB / 0.8596 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.06141, allocations: 372.9 kB / 0.8599 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.06195, allocations: 0.5652 MB / 0.8605 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.06195, allocations: 0 / 0.8605 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001467/0.06342, allocations: 0.8092 MB / 0.8613 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.06345, allocations: 11.94 kB / 0.8613 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.06347, allocations: 4 kB / 0.8613 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008952/0.06436, allocations: 354.4 kB / 0.8616 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.06498, allocations: 215.6 kB / 0.8618 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.06853, allocations: 5.424 MB / 0.8671 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007454/0.06927, allocations: 48.09 kB / 0.8672 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.06933, allocations: 44 kB / 0.8672 GB, free: 15.52 MB / 0.8542 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 (73): * Single equations (assignments): 69 * 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%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003874/0.06972, allocations: 156.4 kB / 0.8673 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.06988, allocations: 96.02 kB / 0.8674 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.0714, allocations: 0.7462 MB / 0.8682 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.07141, allocations: 8 kB / 0.8682 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.07141, allocations: 4 kB / 0.8682 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.07142, allocations: 0 / 0.8682 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.07342, allocations: 1.419 MB / 0.8696 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.07342, allocations: 0 / 0.8696 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.07387, allocations: 139.8 kB / 0.8697 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.07417, allocations: 199 kB / 0.8699 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007523/0.07492, allocations: 334.4 kB / 0.8702 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.07497, allocations: 19.97 kB / 0.8702 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.07855, allocations: 5.443 MB / 0.8755 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.07855, allocations: 4 kB / 0.8755 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.0796, allocations: 0.7789 MB / 0.8763 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.07974, allocations: 16 kB / 0.8763 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.08012, allocations: 39.97 kB / 0.8764 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.08024, allocations: 56.28 kB / 0.8764 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.08028, allocations: 23.97 kB / 0.8764 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003103/0.08059, allocations: 420.6 kB / 0.8768 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.08059, allocations: 0 / 0.8768 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008262/0.08142, allocations: 348 kB / 0.8772 GB, free: 4.734 MB / 0.8542 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 (37): * Single equations (assignments): 33 * 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%), (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.0001951/0.08161, allocations: 104.3 kB / 0.8773 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.08277, allocations: 1.084 MB / 0.8783 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.699e-05/0.08279, allocations: 20.48 kB / 0.8783 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.08351, allocations: 0.8053 MB / 0.8791 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.08452, allocations: 0.5901 MB / 0.8797 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.09246, allocations: 2.34 MB / 0.882 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.09279, allocations: 332.5 kB / 0.8823 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009157/0.09371, allocations: 281.7 kB / 0.8826 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.09442, allocations: 391 kB / 0.8829 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of SimCode: time 1.503e-06/0.09442, allocations: 0 / 0.8829 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of Templates: time 0.03073/0.1252, allocations: 27.39 MB / 0.9097 GB, free: 3.809 MB / 0.8855 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.623789900913835]