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.000968/0.000968, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009778/0.0009778, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9329/0.9329, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 11 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.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.925e-05, allocations: 5.938 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009274/0.009303, allocations: 11.01 MB / 0.7978 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009599/0.0189, allocations: 8.953 MB / 0.8066 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.02015, allocations: 87.25 kB / 0.8067 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.02266, allocations: 1.717 MB / 0.8084 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.02646, allocations: 1.608 MB / 0.8099 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.02782, allocations: 0.6857 MB / 0.8106 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.03021, allocations: 2.356 MB / 0.8129 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.03145, allocations: 1.152 MB / 0.814 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.03315, allocations: 1.535 MB / 0.8155 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.03407, allocations: 0.8609 MB / 0.8164 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.03421, allocations: 136 kB / 0.8165 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.03534, allocations: 0.7559 MB / 0.8172 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.03574, allocations: 0.6036 MB / 0.8178 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.03624, allocations: 0.5962 MB / 0.8184 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.03816, allocations: 1.705 MB / 0.8201 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.03816, allocations: 3.938 kB / 0.8201 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03816, allocations: 4 kB / 0.8201 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.03818, allocations: 0 / 0.8201 GB, free: 10.96 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.002086/0.04027, allocations: 2.08 MB / 0.8221 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.04031, allocations: 12.03 kB / 0.8221 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.04516, allocations: 1.723 MB / 0.8238 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.04661, allocations: 1.163 MB / 0.8249 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.04666, allocations: 90.69 kB / 0.825 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.04682, allocations: 116.4 kB / 0.8251 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.04908, allocations: 1.861 MB / 0.8269 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.04911, allocations: 15.83 kB / 0.827 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.04921, allocations: 48 kB / 0.827 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/0.04941, allocations: 130.1 kB / 0.8271 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.05055, allocations: 0.7622 MB / 0.8279 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006314/0.05686, allocations: 7.961 MB / 0.8356 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.05811, allocations: 0.6275 MB / 0.8363 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.05847, allocations: 237.1 kB / 0.8365 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.0585, allocations: 8.5 kB / 0.8365 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.05853, allocations: 41.89 kB / 0.8365 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=53): time 3.126e-06/0.05854, allocations: 0 / 0.8365 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81): time 0.005808/0.06434, allocations: 3.099 MB / 0.8396 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.06438, allocations: 60.06 kB / 0.8396 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.06515, allocations: 0.9282 MB / 0.8405 GB, free: 5.352 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.06529, allocations: 41.7 kB / 0.8406 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.06568, allocations: 0.8117 MB / 0.8414 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.06586, allocations: 305.5 kB / 0.8416 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.06611, allocations: 200.2 kB / 0.8418 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.06624, allocations: 0.5121 MB / 0.8423 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.06669, allocations: 309.8 kB / 0.8426 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.06729, allocations: 0.6299 MB / 0.8433 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.06836, allocations: 0.9731 MB / 0.8442 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.06837, allocations: 0 / 0.8442 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002468/0.07083, allocations: 1.602 MB / 0.8458 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.07086, allocations: 12 kB / 0.8458 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.07087, allocations: 8 kB / 0.8458 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.07279, allocations: 0.7311 MB / 0.8465 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.07348, allocations: 299.4 kB / 0.8468 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008825/0.08231, allocations: 15.67 MB / 0.8621 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.08333, allocations: 187.8 kB / 0.8623 GB, free: 13.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.0834, allocations: 47.97 kB / 0.8623 GB, free: 13.7 MB / 0.823 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.0004274/0.08383, allocations: 216.3 kB / 0.8625 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.08404, allocations: 155.2 kB / 0.8627 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.08639, allocations: 1.435 MB / 0.8641 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.08639, allocations: 8 kB / 0.8641 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.0864, allocations: 11.94 kB / 0.8641 GB, free: 11.82 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.08641, allocations: 3.984 kB / 0.8641 GB, free: 11.81 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.09007, allocations: 2.649 MB / 0.8667 GB, free: 9.039 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.09007, allocations: 4 kB / 0.8667 GB, free: 9.035 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.09062, allocations: 243.5 kB / 0.8669 GB, free: 8.797 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.0923, allocations: 0.6847 MB / 0.8676 GB, free: 8.078 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.09236, allocations: 39.91 kB / 0.8676 GB, free: 8.039 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008873/0.1012, allocations: 15.63 MB / 0.8829 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1012, allocations: 3.938 kB / 0.8829 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.1037, allocations: 1.49 MB / 0.8843 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.1041, allocations: 283 kB / 0.8846 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1042, allocations: 23.94 kB / 0.8846 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.1049, allocations: 191.6 kB / 0.8848 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.1051, allocations: 84.44 kB / 0.8849 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.1052, allocations: 35.97 kB / 0.8849 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005349/0.1057, allocations: 0.5798 MB / 0.8855 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.4e-07/0.1057, allocations: 0 / 0.8855 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00115/0.1069, allocations: 440 kB / 0.8859 GB, free: 4.219 MB / 0.8386 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.0002314/0.1071, allocations: 127.1 kB / 0.886 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.1096, allocations: 2.499 MB / 0.8885 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1096, allocations: 0 / 0.8885 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.1113, allocations: 2.042 MB / 0.8905 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.1124, allocations: 0.5115 MB / 0.891 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.1163, allocations: 2.816 MB / 0.8937 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1167, allocations: 395.3 kB / 0.8941 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007546/0.1174, allocations: 302.6 kB / 0.8944 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.1177, allocations: 100.4 kB / 0.8945 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of SimCode: time 1.743e-06/0.1177, allocations: 0 / 0.8945 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.03456/0.1522, allocations: 31.84 MB / 0.9256 GB, free: 11.84 MB / 0.8855 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.422753382939845]