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.001539/0.001539, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001705/0.001705, allocations: 168.7 kB / 24.87 MB, free: 9.285 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 0.9655/0.9655, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] 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 1.771/1.771, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.[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_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.[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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.441e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.22 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006823/0.006847, allocations: 7.663 MB / 0.7958 GB, free: 4.539 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.00694/0.01379, allocations: 5.79 MB / 0.8014 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.01492, allocations: 83.25 kB / 0.8015 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.01586, allocations: 373.1 kB / 0.8019 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.01874, allocations: 1.431 MB / 0.8033 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009693/0.01971, allocations: 0.5573 MB / 0.8038 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.02212, allocations: 2.364 MB / 0.8061 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.02352, allocations: 1.154 MB / 0.8072 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.02553, allocations: 1.555 MB / 0.8088 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.02666, allocations: 0.8726 MB / 0.8096 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.0269, allocations: 136 kB / 0.8098 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005596/0.02746, allocations: 295.5 kB / 0.81 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.02787, allocations: 0.5959 MB / 0.8106 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.02848, allocations: 0.5844 MB / 0.8112 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.02991, allocations: 1.401 MB / 0.8126 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.02991, allocations: 3.938 kB / 0.8126 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.273e-06/0.02992, allocations: 4 kB / 0.8126 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.186e-05/0.02997, allocations: 0 / 0.8126 GB, free: 3.332 MB / 0.7605 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.002015/0.03198, allocations: 2.014 MB / 0.8145 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.03202, allocations: 12.03 kB / 0.8145 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.03536, allocations: 0.8422 MB / 0.8154 GB, free: 428 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.03676, allocations: 1.149 MB / 0.8165 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.03681, allocations: 82.69 kB / 0.8166 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.03697, allocations: 120.4 kB / 0.8167 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.03873, allocations: 1.622 MB / 0.8183 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.03877, allocations: 11.83 kB / 0.8183 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.03887, allocations: 55.98 kB / 0.8183 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.03904, allocations: 102.2 kB / 0.8184 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.03987, allocations: 0.6159 MB / 0.819 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.04558, allocations: 7.335 MB / 0.8262 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008922/0.04647, allocations: 404.8 kB / 0.8266 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.04672, allocations: 205 kB / 0.8268 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.04675, allocations: 8.5 kB / 0.8268 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.04678, allocations: 45.83 kB / 0.8268 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=53): time 3.056e-06/0.04678, allocations: 0 / 0.8268 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81): time 0.004859/0.05164, allocations: 2.597 MB / 0.8294 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.05167, allocations: 60.06 kB / 0.8294 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.05231, allocations: 0.9197 MB / 0.8303 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.05237, allocations: 41.7 kB / 0.8304 GB, free: 468 kB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.05279, allocations: 0.8156 MB / 0.8311 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.05299, allocations: 293.5 kB / 0.8314 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.05325, allocations: 204.1 kB / 0.8316 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.05339, allocations: 0.5237 MB / 0.8321 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.05369, allocations: 233.8 kB / 0.8324 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.05414, allocations: 0.5751 MB / 0.8329 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.05494, allocations: 0.8401 MB / 0.8337 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.05494, allocations: 0 / 0.8337 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002136/0.05708, allocations: 1.45 MB / 0.8352 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.0571, allocations: 8 kB / 0.8352 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.05711, allocations: 8 kB / 0.8352 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.0588, allocations: 0.6764 MB / 0.8358 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.05935, allocations: 187.5 kB / 0.836 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008194/0.06755, allocations: 15.26 MB / 0.8509 GB, free: 10.12 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.06842, allocations: 51.97 kB / 0.851 GB, free: 10.07 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.0685, allocations: 39.97 kB / 0.851 GB, free: 10.03 MB / 0.8074 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.0004107/0.06891, allocations: 224.3 kB / 0.8512 GB, free: 9.801 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.06916, allocations: 167.1 kB / 0.8514 GB, free: 9.637 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.0712, allocations: 1.322 MB / 0.8527 GB, free: 8.27 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.07121, allocations: 8 kB / 0.8527 GB, free: 8.262 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.07122, allocations: 11.98 kB / 0.8527 GB, free: 8.25 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.07122, allocations: 3.984 kB / 0.8527 GB, free: 8.246 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.07447, allocations: 2.26 MB / 0.8549 GB, free: 5.863 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.07447, allocations: 4 kB / 0.8549 GB, free: 5.859 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.0749, allocations: 132.1 kB / 0.855 GB, free: 5.73 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.07639, allocations: 0.6257 MB / 0.8556 GB, free: 5.07 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.07645, allocations: 31.97 kB / 0.8557 GB, free: 5.039 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007538/0.08399, allocations: 15.21 MB / 0.8705 GB, free: 4.914 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.084, allocations: 4 kB / 0.8705 GB, free: 4.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.08608, allocations: 1.372 MB / 0.8719 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.08651, allocations: 262.9 kB / 0.8721 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.08663, allocations: 24 kB / 0.8721 GB, free: 3.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.08712, allocations: 35.98 kB / 0.8722 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.08732, allocations: 88.38 kB / 0.8723 GB, free: 3.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.08738, allocations: 35.97 kB / 0.8723 GB, free: 3.004 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003996/0.08778, allocations: 0.5327 MB / 0.8728 GB, free: 2.465 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.08778, allocations: 0 / 0.8728 GB, free: 2.465 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001179/0.08896, allocations: 432 kB / 0.8732 GB, free: 2.043 MB / 0.823 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.0002155/0.08918, allocations: 127.1 kB / 0.8733 GB, free: 1.906 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002316/0.09149, allocations: 2.361 MB / 0.8757 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.0915, allocations: 0 / 0.8757 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.09304, allocations: 1.961 MB / 0.8776 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.09451, allocations: 0.4957 MB / 0.8781 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.09835, allocations: 2.586 MB / 0.8806 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.09876, allocations: 387.3 kB / 0.8809 GB, free: 9.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000844/0.0996, allocations: 278.6 kB / 0.8812 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007552/0.1004, allocations: 477.8 kB / 0.8817 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of SimCode: time 1.864e-06/0.1004, allocations: 0 / 0.8817 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of Templates: time 0.03815/0.1385, allocations: 33.68 MB / 0.9146 GB, free: 8.035 MB / 0.8699 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] 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","",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.5451666340231895]