Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001449/0.001449, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001605/0.001605, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.467/1.467, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.628/2.628, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.333e-05, allocations: 5.266 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01656/0.01659, allocations: 10.2 MB / 0.7963 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.0331, allocations: 8.386 MB / 0.8045 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.0349, allocations: 87.25 kB / 0.8046 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005401/0.0403, allocations: 1.671 MB / 0.8062 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.006066/0.04636, allocations: 1.619 MB / 0.8078 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.0488, allocations: 0.6818 MB / 0.8085 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004235/0.05304, allocations: 2.356 MB / 0.8108 GB, free: 3.785 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.05547, allocations: 1.137 MB / 0.8119 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.05891, allocations: 1.539 MB / 0.8134 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.06068, allocations: 0.8296 MB / 0.8142 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.06094, allocations: 136 kB / 0.8143 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.06283, allocations: 0.7481 MB / 0.8151 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0008102/0.06364, allocations: 0.5997 MB / 0.8157 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.06467, allocations: 0.5884 MB / 0.8162 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.06941, allocations: 2.589 MB / 0.8188 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.06941, allocations: 0 / 0.8188 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.184e-06/0.06942, allocations: 0 / 0.8188 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.022e-05/0.06951, allocations: 4 kB / 0.8188 GB, free: 11.57 MB / 0.7761 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.004718/0.07422, allocations: 1.964 MB / 0.8207 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.07428, allocations: 12.03 kB / 0.8207 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.08649, allocations: 2.265 MB / 0.8229 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.08962, allocations: 1.184 MB / 0.8241 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.08972, allocations: 90.7 kB / 0.8241 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.09004, allocations: 116.4 kB / 0.8243 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006969/0.09701, allocations: 2.697 MB / 0.8269 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.616e-05/0.09707, allocations: 15.89 kB / 0.8269 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.09724, allocations: 55.94 kB / 0.827 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003991/0.09764, allocations: 130.1 kB / 0.8271 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008003/0.1056, allocations: 2.537 MB / 0.8296 GB, free: 212 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/0.1219, allocations: 7.499 MB / 0.8369 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00686/0.1288, allocations: 1.854 MB / 0.8387 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.132, allocations: 0.9452 MB / 0.8396 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.5e-05/0.132, allocations: 16.5 kB / 0.8396 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.1321, allocations: 43.05 kB / 0.8397 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.1321, allocations: 0 / 0.8397 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81): time 0.03564/0.1677, allocations: 9.116 MB / 0.8486 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.1678, allocations: 60.06 kB / 0.8486 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.1697, allocations: 0.9632 MB / 0.8496 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.1699, allocations: 37.7 kB / 0.8496 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/0.1707, allocations: 0.7619 MB / 0.8504 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.1711, allocations: 289.5 kB / 0.8506 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005523/0.1716, allocations: 202.5 kB / 0.8508 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.1719, allocations: 345.9 kB / 0.8512 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/0.1752, allocations: 1.087 MB / 0.8522 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.1788, allocations: 1.313 MB / 0.8535 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006833/0.1857, allocations: 2.409 MB / 0.8558 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.1857, allocations: 4 kB / 0.8559 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01041/0.1961, allocations: 3.309 MB / 0.8591 GB, free: 1.469 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.1961, allocations: 9.875 kB / 0.8591 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.1961, allocations: 8 kB / 0.8591 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004643/0.2008, allocations: 0.9904 MB / 0.8601 GB, free: 448 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.2029, allocations: 419.3 kB / 0.8605 GB, free: 28 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/0.2241, allocations: 15.06 MB / 0.8752 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.2266, allocations: 295.5 kB / 0.8755 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/0.2269, allocations: 47.97 kB / 0.8755 GB, free: 15.81 MB / 0.8386 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.001081/0.228, allocations: 405.5 kB / 0.8759 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/0.2286, allocations: 159.2 kB / 0.876 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009995/0.2386, allocations: 3.204 MB / 0.8792 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.2386, allocations: 8 kB / 0.8792 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/0.2386, allocations: 11.94 kB / 0.8792 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.2386, allocations: 3.984 kB / 0.8792 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.2519, allocations: 4.535 MB / 0.8836 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.252, allocations: 0 / 0.8836 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.2537, allocations: 363.7 kB / 0.884 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004123/0.2578, allocations: 0.9043 MB / 0.8848 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.258, allocations: 39.89 kB / 0.8849 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/0.2789, allocations: 14.67 MB / 0.8992 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.2789, allocations: 7.938 kB / 0.8992 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009612/0.2886, allocations: 3.067 MB / 0.9022 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.2896, allocations: 299 kB / 0.9025 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/0.29, allocations: 27.92 kB / 0.9025 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/0.2922, allocations: 299.4 kB / 0.9028 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/0.2926, allocations: 76.52 kB / 0.9029 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.2927, allocations: 39.91 kB / 0.9029 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001395/0.2941, allocations: 0.6346 MB / 0.9035 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.2941, allocations: 0 / 0.9035 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002313/0.2964, allocations: 444 kB / 0.904 GB, free: 1.582 MB / 0.8542 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.0004202/0.2968, allocations: 131.1 kB / 0.9041 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009858/0.3067, allocations: 3.548 MB / 0.9076 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/0.3067, allocations: 4 kB / 0.9076 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006065/0.3128, allocations: 2.339 MB / 0.9098 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.3161, allocations: 0.4946 MB / 0.9103 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.3282, allocations: 3.815 MB / 0.9141 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.3299, allocations: 0.8015 MB / 0.9148 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001966/0.3319, allocations: 358.6 kB / 0.9152 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/0.3325, allocations: 104.4 kB / 0.9153 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of SimCode: time 2.145e-06/0.3325, allocations: 4 kB / 0.9153 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of Templates: time 0.06407/0.3965, allocations: 31.34 MB / 0.9459 GB, free: 6.969 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.673509637010284]