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.001472/0.001472, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001545/0.001545, allocations: 161 kB / 24.16 MB, free: 336 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.9352/0.9352, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.784/1.784, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.372e-06/1.372e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.658e-05, allocations: 7.812 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006928/0.006955, allocations: 7.673 MB / 0.7675 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007679/0.01463, allocations: 5.924 MB / 0.7733 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.01603, allocations: 83.25 kB / 0.7734 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.0171, allocations: 382.1 kB / 0.7737 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.02063, allocations: 1.432 MB / 0.7751 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.02176, allocations: 0.566 MB / 0.7757 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.02446, allocations: 2.367 MB / 0.778 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.02608, allocations: 1.211 MB / 0.7792 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.02852, allocations: 1.544 MB / 0.7807 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.03016, allocations: 0.8518 MB / 0.7815 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.03045, allocations: 136 kB / 0.7816 GB, free: 476 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.03106, allocations: 287.6 kB / 0.7819 GB, free: 188 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004495/0.03151, allocations: 0.592 MB / 0.7825 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007176/0.03223, allocations: 0.5883 MB / 0.7831 GB, free: 15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.03389, allocations: 1.401 MB / 0.7844 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.03389, allocations: 0 / 0.7844 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/0.0339, allocations: 2.75 kB / 0.7844 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.295e-05/0.03395, allocations: 0 / 0.7844 GB, free: 13.59 MB / 0.7448 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.002265/0.03621, allocations: 1.856 MB / 0.7863 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.03625, allocations: 8.031 kB / 0.7863 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.03916, allocations: 0.7818 MB / 0.787 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.04107, allocations: 1.052 MB / 0.7881 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.04114, allocations: 90.69 kB / 0.7881 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/0.04161, allocations: 124.3 kB / 0.7883 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.04337, allocations: 1.534 MB / 0.7898 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.04341, allocations: 15.86 kB / 0.7898 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.299e-05/0.0435, allocations: 51.98 kB / 0.7898 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.04366, allocations: 106.8 kB / 0.7899 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.04442, allocations: 0.5206 MB / 0.7904 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/0.05017, allocations: 5.305 MB / 0.7956 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/0.05109, allocations: 399.9 kB / 0.796 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.05133, allocations: 156.3 kB / 0.7961 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.05137, allocations: 17.41 kB / 0.7962 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.0514, allocations: 39.06 kB / 0.7962 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 3.858e-06/0.0514, allocations: 0.625 kB / 0.7962 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54): time 0.00387/0.05527, allocations: 1.821 MB / 0.798 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.05531, allocations: 59.84 kB / 0.798 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/0.05595, allocations: 0.8394 MB / 0.7989 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.05601, allocations: 38.3 kB / 0.7989 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.05629, allocations: 0.6044 MB / 0.7995 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.05641, allocations: 198.3 kB / 0.7997 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.0566, allocations: 142.5 kB / 0.7998 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.0567, allocations: 342.5 kB / 0.8001 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.05691, allocations: 149.9 kB / 0.8003 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.05722, allocations: 376.9 kB / 0.8006 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.05775, allocations: 0.5691 MB / 0.8012 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.05776, allocations: 4 kB / 0.8012 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001096/0.05885, allocations: 0.8014 MB / 0.802 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.05888, allocations: 11.94 kB / 0.802 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.0589, allocations: 8 kB / 0.802 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.06003, allocations: 350.3 kB / 0.8023 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.06051, allocations: 163.7 kB / 0.8025 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.06418, allocations: 5.441 MB / 0.8078 GB, free: 4.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.06487, allocations: 47.97 kB / 0.8078 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.06493, allocations: 31.97 kB / 0.8079 GB, free: 4.543 MB / 0.7605 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.0003681/0.0653, allocations: 156.5 kB / 0.808 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.06547, allocations: 107.8 kB / 0.8081 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.06661, allocations: 0.7423 MB / 0.8089 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.06662, allocations: 4 kB / 0.8089 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.06662, allocations: 4 kB / 0.8089 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.06663, allocations: 0 / 0.8089 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.06899, allocations: 1.407 MB / 0.8102 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.06899, allocations: 8.188 kB / 0.8102 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.06934, allocations: 99.83 kB / 0.8103 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000723/0.07006, allocations: 334.3 kB / 0.8107 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.07011, allocations: 27.91 kB / 0.8107 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.07378, allocations: 5.429 MB / 0.816 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.07378, allocations: 0 / 0.816 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.0749, allocations: 0.7867 MB / 0.8168 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.07524, allocations: 207.1 kB / 0.8169 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.07534, allocations: 11.98 kB / 0.817 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.07573, allocations: 35.98 kB / 0.817 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.07587, allocations: 56.34 kB / 0.817 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.07591, allocations: 23.91 kB / 0.8171 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003579/0.07627, allocations: 420.6 kB / 0.8175 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.07627, allocations: 4 kB / 0.8175 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008964/0.07716, allocations: 344 kB / 0.8178 GB, free: 9.809 MB / 0.7761 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.0002014/0.07737, allocations: 100.3 kB / 0.8179 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.07858, allocations: 1.084 MB / 0.819 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/0.07859, allocations: 12.5 kB / 0.819 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.07937, allocations: 0.8086 MB / 0.8198 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.08048, allocations: 489.6 kB / 0.8202 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.0835, allocations: 2.279 MB / 0.8225 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.08378, allocations: 332.5 kB / 0.8228 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001171/0.08495, allocations: 277.7 kB / 0.823 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.08565, allocations: 391 kB / 0.8234 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of SimCode: time 2.415e-06/0.08566, allocations: 4 kB / 0.8234 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of Templates: time 0.03099/0.1166, allocations: 26.53 MB / 0.8493 GB, free: 9.934 MB / 0.8073 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.3704351601190865]