Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0009723/0.0009723, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001006/0.001006, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9031/0.9031, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.826/1.826, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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_L,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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.479e-05, allocations: 2.969 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004079/0.004103, allocations: 4.132 MB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.006489, allocations: 1.54 MB / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.006783, allocations: 39.62 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.007363, allocations: 197.2 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.008018, allocations: 407.2 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.008599, allocations: 357.6 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.009615, allocations: 1.144 MB / 0.8192 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.0103, allocations: 0.5061 MB / 0.8196 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.011, allocations: 0.6167 MB / 0.8202 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.01152, allocations: 444.2 kB / 0.8207 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.0116, allocations: 63.94 kB / 0.8207 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.01184, allocations: 128.3 kB / 0.8209 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.01204, allocations: 304.2 kB / 0.8211 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.01224, allocations: 275.2 kB / 0.8214 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.01289, allocations: 0.6618 MB / 0.8221 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.0129, allocations: 4.844 kB / 0.8221 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.0129, allocations: 0 / 0.8221 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.01291, allocations: 0 / 0.8221 GB, free: 6.953 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001043/0.01396, allocations: 1.047 MB / 0.8231 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.014, allocations: 12.03 kB / 0.8231 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/0.01478, allocations: 310.4 kB / 0.8234 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.01536, allocations: 0.5342 MB / 0.8239 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.01539, allocations: 45.67 kB / 0.824 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.01546, allocations: 64.38 kB / 0.824 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.01625, allocations: 0.9019 MB / 0.8249 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.01628, allocations: 8.141 kB / 0.8249 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.01632, allocations: 32.36 kB / 0.8249 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.01639, allocations: 73.14 kB / 0.825 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.01683, allocations: 337.9 kB / 0.8253 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.01978, allocations: 5.637 MB / 0.8308 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.02019, allocations: 259 kB / 0.8311 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.02057, allocations: 253.1 kB / 0.8313 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.0206, allocations: 8 kB / 0.8313 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.02063, allocations: 41.39 kB / 0.8314 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 3.367e-06/0.02063, allocations: 0 / 0.8314 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.002053/0.02269, allocations: 1.144 MB / 0.8325 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.02272, allocations: 59.39 kB / 0.8325 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.02302, allocations: 470.4 kB / 0.833 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.02305, allocations: 29.7 kB / 0.833 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.02324, allocations: 446.7 kB / 0.8334 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.02332, allocations: 158.7 kB / 0.8336 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.02343, allocations: 112 kB / 0.8337 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.02358, allocations: 0.5313 MB / 0.8342 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.02372, allocations: 105.2 kB / 0.8343 GB, free: 9.875 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.02399, allocations: 404.7 kB / 0.8347 GB, free: 9.348 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.02446, allocations: 0.561 MB / 0.8353 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02446, allocations: 8 kB / 0.8353 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009014/0.02536, allocations: 0.7142 MB / 0.836 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.02539, allocations: 8 kB / 0.836 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.0254, allocations: 11.98 kB / 0.836 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.02603, allocations: 254.7 kB / 0.8362 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.02623, allocations: 99.77 kB / 0.8363 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/0.03076, allocations: 7.728 MB / 0.8439 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.03098, allocations: 35.91 kB / 0.8439 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.031, allocations: 24 kB / 0.8439 GB, free: 15.25 MB / 0.8073 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.03117, allocations: 196.6 kB / 0.8441 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.03124, allocations: 71.67 kB / 0.8442 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007354/0.03198, allocations: 0.5559 MB / 0.8447 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.03198, allocations: 4 kB / 0.8447 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.03198, allocations: 8 kB / 0.8447 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.03199, allocations: 7.922 kB / 0.8447 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.03322, allocations: 1.141 MB / 0.8459 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.03322, allocations: 0 / 0.8459 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.03331, allocations: 43.91 kB / 0.8459 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/0.03384, allocations: 250.6 kB / 0.8461 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.03386, allocations: 8 kB / 0.8461 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/0.03782, allocations: 7.731 MB / 0.8537 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.03782, allocations: 0 / 0.8537 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.03862, allocations: 0.7345 MB / 0.8544 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.03875, allocations: 99.45 kB / 0.8545 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.03879, allocations: 12 kB / 0.8545 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.03891, allocations: 19.97 kB / 0.8545 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.03901, allocations: 43.92 kB / 0.8546 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.03903, allocations: 8 kB / 0.8546 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001795/0.03921, allocations: 298.7 kB / 0.8549 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03921, allocations: 4 kB / 0.8549 GB, free: 3.344 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005452/0.03975, allocations: 196 kB / 0.8551 GB, free: 3.152 MB / 0.8073 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001222/0.03987, allocations: 103.2 kB / 0.8552 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.04088, allocations: 1.156 MB / 0.8563 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.04089, allocations: 0 / 0.8563 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.04185, allocations: 0.9496 MB / 0.8572 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.04241, allocations: 203.4 kB / 0.8574 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.04391, allocations: 1.144 MB / 0.8585 GB, free: 15.39 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.04407, allocations: 206.2 kB / 0.8587 GB, free: 15.17 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.04426, allocations: 81.02 kB / 0.8588 GB, free: 15.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.04432, allocations: 32.5 kB / 0.8588 GB, free: 15.06 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/0.04432, allocations: 4 kB / 0.8588 GB, free: 15.05 MB / 0.823 GB Notification: Performance of Templates: time 0.01404/0.05836, allocations: 10.97 MB / 0.8695 GB, free: 4.316 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.039211089722812]