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.00137/0.00137, 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.001456/0.001456, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9479/0.9479, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.786/1.786, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.974e-06/1.974e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.971e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004408/0.004438, allocations: 4.14 MB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.007179, allocations: 1.537 MB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.007573, allocations: 39.62 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006567/0.00823, allocations: 191.7 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.008937, allocations: 408.6 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.009601, allocations: 366.1 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009347/0.01054, allocations: 1.131 MB / 0.8191 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.01119, allocations: 0.5061 MB / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006238/0.01181, allocations: 0.6106 MB / 0.8202 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.01225, allocations: 426.8 kB / 0.8206 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.01232, allocations: 56 kB / 0.8207 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.01257, allocations: 143.8 kB / 0.8208 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.0128, allocations: 311.1 kB / 0.8211 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.01301, allocations: 267.8 kB / 0.8214 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.01368, allocations: 0.6734 MB / 0.822 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.01368, allocations: 0.5 kB / 0.822 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01368, allocations: 1.938 kB / 0.822 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.0137, allocations: 0 / 0.822 GB, free: 6.957 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.001029/0.01473, allocations: 1.054 MB / 0.8231 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.01477, allocations: 8.031 kB / 0.8231 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.0157, allocations: 340.5 kB / 0.8234 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.0164, allocations: 0.5433 MB / 0.8239 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.01644, allocations: 41.69 kB / 0.824 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.01651, allocations: 68.31 kB / 0.824 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.01732, allocations: 0.9029 MB / 0.8249 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.01734, allocations: 8.125 kB / 0.8249 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.01738, allocations: 24.38 kB / 0.8249 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.359e-05/0.01746, allocations: 78.27 kB / 0.825 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.01791, allocations: 338.5 kB / 0.8253 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.02105, allocations: 5.637 MB / 0.8309 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.02148, allocations: 252.4 kB / 0.8311 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.02189, allocations: 256.6 kB / 0.8313 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.02193, allocations: 4 kB / 0.8313 GB, free: 13 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.02195, allocations: 45.33 kB / 0.8314 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 2.515e-06/0.02196, allocations: 0 / 0.8314 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.002188/0.02414, allocations: 1.147 MB / 0.8325 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.02417, allocations: 55.41 kB / 0.8326 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.02448, allocations: 478.4 kB / 0.833 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.02451, allocations: 33.7 kB / 0.833 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.0247, allocations: 438.7 kB / 0.8335 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.02478, allocations: 158.7 kB / 0.8336 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.02489, allocations: 112 kB / 0.8337 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.02503, allocations: 0.5313 MB / 0.8342 GB, free: 9.938 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.02517, allocations: 105.2 kB / 0.8343 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.02544, allocations: 408.7 kB / 0.8347 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.02591, allocations: 0.5572 MB / 0.8353 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02591, allocations: 4 kB / 0.8353 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009296/0.02684, allocations: 0.7179 MB / 0.836 GB, free: 7.871 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.02687, allocations: 8 kB / 0.836 GB, free: 7.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.02688, allocations: 11.98 kB / 0.836 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/0.02753, allocations: 254.9 kB / 0.8362 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.02773, allocations: 99.77 kB / 0.8363 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/0.03207, allocations: 7.731 MB / 0.8439 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.03235, allocations: 31.97 kB / 0.8439 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.03238, allocations: 24 kB / 0.8439 GB, free: 15.21 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.0002101/0.03259, allocations: 200.6 kB / 0.8441 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.03266, allocations: 71.67 kB / 0.8442 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009/0.03356, allocations: 0.5597 MB / 0.8447 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.03356, allocations: 4 kB / 0.8448 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.03357, allocations: 4 kB / 0.8448 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.03358, allocations: 7.922 kB / 0.8448 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.03495, allocations: 1.141 MB / 0.8459 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.03496, allocations: 8 kB / 0.8459 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.46e-05/0.03505, allocations: 35.97 kB / 0.8459 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/0.0356, allocations: 250.6 kB / 0.8462 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.03563, allocations: 8 kB / 0.8462 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.03963, allocations: 7.721 MB / 0.8537 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03963, allocations: 0 / 0.8537 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.0405, allocations: 0.7345 MB / 0.8544 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.04065, allocations: 99.45 kB / 0.8545 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.04069, allocations: 12 kB / 0.8545 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.04082, allocations: 19.97 kB / 0.8545 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.04092, allocations: 47.86 kB / 0.8546 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.04094, allocations: 12 kB / 0.8546 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001948/0.04113, allocations: 294.8 kB / 0.8549 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.04113, allocations: 0 / 0.8549 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006129/0.04174, allocations: 200 kB / 0.8551 GB, free: 3.117 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.0001273/0.04187, allocations: 103.2 kB / 0.8552 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.04296, allocations: 1.152 MB / 0.8563 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.04296, allocations: 0 / 0.8563 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.04364, allocations: 0.9573 MB / 0.8572 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.04424, allocations: 200.1 kB / 0.8574 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.04593, allocations: 1.15 MB / 0.8585 GB, free: 15.35 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.04609, allocations: 214.2 kB / 0.8588 GB, free: 15.12 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.04628, allocations: 73.02 kB / 0.8588 GB, free: 15.04 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.04634, allocations: 40.5 kB / 0.8589 GB, free: 15 MB / 0.823 GB Notification: Performance of SimCode: time 1.493e-06/0.04634, allocations: 0 / 0.8589 GB, free: 15 MB / 0.823 GB Notification: Performance of Templates: time 0.01322/0.05957, allocations: 10.54 MB / 0.8692 GB, free: 4.691 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.32638156786561]