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.001298/0.001298, allocations: 80.3 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.001407/0.001407, allocations: 168.6 kB / 24.86 MB, free: 8.883 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.9136/0.9136, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.862/1.862, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[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_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.[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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.398e-05, allocations: 3.297 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.00602/0.006034, allocations: 7.652 MB / 0.8202 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005185/0.01122, allocations: 5.784 MB / 0.8259 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000508/0.01173, allocations: 83.25 kB / 0.826 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.01242, allocations: 377 kB / 0.8263 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.01435, allocations: 1.425 MB / 0.8277 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.01507, allocations: 0.5554 MB / 0.8283 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.01681, allocations: 2.367 MB / 0.8306 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.01787, allocations: 1.152 MB / 0.8317 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.0193, allocations: 1.551 MB / 0.8332 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008963/0.02019, allocations: 0.8804 MB / 0.8341 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.02034, allocations: 139.9 kB / 0.8342 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.02073, allocations: 291.6 kB / 0.8345 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.02107, allocations: 0.5997 MB / 0.8351 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.02152, allocations: 0.5806 MB / 0.8356 GB, free: 10 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.02255, allocations: 1.405 MB / 0.837 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.02255, allocations: 4 kB / 0.837 GB, free: 8.586 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.72e-07/0.02256, allocations: 0 / 0.837 GB, free: 8.586 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.02258, allocations: 3.938 kB / 0.837 GB, free: 8.582 MB / 0.7917 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.001747/0.02433, allocations: 2.014 MB / 0.839 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.02436, allocations: 16.03 kB / 0.839 GB, free: 6.508 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.02768, allocations: 0.8423 MB / 0.8398 GB, free: 5.664 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.02885, allocations: 1.137 MB / 0.8409 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.0289, allocations: 82.7 kB / 0.841 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.02905, allocations: 116.4 kB / 0.8411 GB, free: 4.285 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.03067, allocations: 1.622 MB / 0.8427 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.0307, allocations: 19.83 kB / 0.8427 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.0308, allocations: 47.98 kB / 0.8428 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.03095, allocations: 102.2 kB / 0.8429 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/0.0317, allocations: 0.6198 MB / 0.8435 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.03686, allocations: 7.346 MB / 0.8507 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.03773, allocations: 412.7 kB / 0.851 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.03797, allocations: 197 kB / 0.8512 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.038, allocations: 8.5 kB / 0.8512 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.03802, allocations: 41.89 kB / 0.8513 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.03802, allocations: 0 / 0.8513 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of matching and sorting (n=81): time 0.00449/0.04251, allocations: 2.601 MB / 0.8538 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.04254, allocations: 60.06 kB / 0.8539 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005799/0.04312, allocations: 0.9236 MB / 0.8548 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.04318, allocations: 37.7 kB / 0.8548 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.04356, allocations: 0.8155 MB / 0.8556 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.04374, allocations: 293.4 kB / 0.8559 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.04399, allocations: 208.1 kB / 0.8561 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.04411, allocations: 0.5236 MB / 0.8566 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.04441, allocations: 241.8 kB / 0.8568 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.04484, allocations: 0.5634 MB / 0.8574 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.04561, allocations: 0.844 MB / 0.8582 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.04561, allocations: 0 / 0.8582 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002026/0.04764, allocations: 1.442 MB / 0.8596 GB, free: 484 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.04766, allocations: 10.5 kB / 0.8596 GB, free: 476 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.04767, allocations: 8 kB / 0.8596 GB, free: 468 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.04931, allocations: 0.6842 MB / 0.8603 GB, free: 15.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.04983, allocations: 183.6 kB / 0.8605 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007355/0.05719, allocations: 15.26 MB / 0.8754 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.05775, allocations: 55.97 kB / 0.8754 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.05782, allocations: 39.97 kB / 0.8755 GB, free: 15.29 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.0002866/0.05811, allocations: 222.7 kB / 0.8757 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.0583, allocations: 163.3 kB / 0.8758 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.06023, allocations: 1.326 MB / 0.8771 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.06024, allocations: 12 kB / 0.8771 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.06025, allocations: 4 kB / 0.8771 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.06025, allocations: 7.984 kB / 0.8772 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.06319, allocations: 2.268 MB / 0.8794 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.0632, allocations: 4 kB / 0.8794 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.06359, allocations: 124.1 kB / 0.8795 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.06504, allocations: 0.6374 MB / 0.8801 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.0651, allocations: 31.97 kB / 0.8801 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.07223, allocations: 15.21 MB / 0.895 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.07223, allocations: 11.88 kB / 0.895 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.07399, allocations: 1.368 MB / 0.8963 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.0743, allocations: 266.9 kB / 0.8966 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.07442, allocations: 20 kB / 0.8966 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.07489, allocations: 35.98 kB / 0.8967 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.07505, allocations: 88.38 kB / 0.8967 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.07511, allocations: 35.97 kB / 0.8968 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000345/0.07545, allocations: 0.5327 MB / 0.8973 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.1e-08/0.07545, allocations: 0 / 0.8973 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00101/0.07646, allocations: 432 kB / 0.8977 GB, free: 7.297 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.0001777/0.07664, allocations: 131.1 kB / 0.8978 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.07862, allocations: 2.362 MB / 0.9001 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.07862, allocations: 0 / 0.9001 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.07995, allocations: 1.96 MB / 0.902 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.08106, allocations: 0.493 MB / 0.9025 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.08424, allocations: 2.587 MB / 0.9051 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.08457, allocations: 391.3 kB / 0.9054 GB, free: 15 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006957/0.08526, allocations: 282.6 kB / 0.9057 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/0.08599, allocations: 473.8 kB / 0.9062 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/0.086, allocations: 0 / 0.9062 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.03495/0.1209, allocations: 33.68 MB / 0.939 GB, free: 13.29 MB / 0.9011 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] 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","",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.516132334712893]