Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001072/0.001072, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009623/0.0009623, allocations: 181 kB / 24.09 MB, free: 420 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.875/0.875, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.74/1.74, allocations: 359 MB / 0.6055 GB, free: 10.86 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_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.042e-05, allocations: 3.469 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00431/0.004331, allocations: 4.723 MB / 0.7922 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.006727, allocations: 1.693 MB / 0.7938 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.007035, allocations: 35.69 kB / 0.7939 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.007585, allocations: 202.5 kB / 0.794 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006302/0.008215, allocations: 449.8 kB / 0.7945 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.008824, allocations: 385.9 kB / 0.7948 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.009854, allocations: 1.267 MB / 0.7961 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006297/0.01048, allocations: 0.5347 MB / 0.7966 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.0112, allocations: 0.6741 MB / 0.7973 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.01173, allocations: 495.9 kB / 0.7977 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.01181, allocations: 68 kB / 0.7978 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.01203, allocations: 136.5 kB / 0.7979 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.01225, allocations: 331 kB / 0.7982 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.01247, allocations: 316 kB / 0.7985 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.01312, allocations: 0.7357 MB / 0.7993 GB, free: 208 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.01312, allocations: 1.219 kB / 0.7993 GB, free: 208 kB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01312, allocations: 0 / 0.7993 GB, free: 208 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.01313, allocations: 0 / 0.7993 GB, free: 208 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001114/0.01425, allocations: 1.173 MB / 0.8004 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.01428, allocations: 12.03 kB / 0.8004 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/0.01498, allocations: 285 kB / 0.8007 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.01551, allocations: 0.5281 MB / 0.8012 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.01554, allocations: 45.69 kB / 0.8013 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.01561, allocations: 69.58 kB / 0.8013 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.01629, allocations: 1.026 MB / 0.8023 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.01631, allocations: 12.06 kB / 0.8023 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.01635, allocations: 32.36 kB / 0.8024 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-05/0.01644, allocations: 90.16 kB / 0.8024 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.01675, allocations: 284.8 kB / 0.8027 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.01958, allocations: 5.578 MB / 0.8082 GB, free: 6.641 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.01994, allocations: 262 kB / 0.8084 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.02006, allocations: 109.1 kB / 0.8085 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.02008, allocations: 9.594 kB / 0.8085 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.02011, allocations: 41.89 kB / 0.8086 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.02011, allocations: 0 / 0.8086 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001427/0.02153, allocations: 0.9102 MB / 0.8095 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.02156, allocations: 55.91 kB / 0.8095 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.02187, allocations: 0.5254 MB / 0.81 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.02189, allocations: 33.7 kB / 0.8101 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.0221, allocations: 474.5 kB / 0.8105 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.0222, allocations: 182.5 kB / 0.8107 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.02232, allocations: 132.2 kB / 0.8108 GB, free: 3.84 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.02248, allocations: 0.5468 MB / 0.8113 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.02258, allocations: 85.92 kB / 0.8114 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.02281, allocations: 408.5 kB / 0.8118 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.02321, allocations: 0.5311 MB / 0.8123 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.02321, allocations: 0 / 0.8123 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007308/0.02394, allocations: 0.6754 MB / 0.813 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.02396, allocations: 12.03 kB / 0.813 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.02397, allocations: 8 kB / 0.813 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/0.02461, allocations: 298.4 kB / 0.8133 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.02483, allocations: 107.8 kB / 0.8134 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.02813, allocations: 7.48 MB / 0.8207 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.02839, allocations: 24 kB / 0.8207 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.02842, allocations: 23.98 kB / 0.8208 GB, free: 8.883 MB / 0.7761 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 (67): * Single equations (assignments): 63 * 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,6,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.0001373/0.02856, allocations: 200.4 kB / 0.8209 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.02864, allocations: 87.52 kB / 0.821 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.02919, allocations: 0.4907 MB / 0.8215 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02919, allocations: 4 kB / 0.8215 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.0292, allocations: 7.938 kB / 0.8215 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.0292, allocations: 3.984 kB / 0.8215 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.0302, allocations: 1.018 MB / 0.8225 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.0302, allocations: 0 / 0.8225 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.03031, allocations: 47.92 kB / 0.8226 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.0309, allocations: 278.6 kB / 0.8228 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.03092, allocations: 12 kB / 0.8228 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/0.03408, allocations: 7.477 MB / 0.8301 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.03408, allocations: 4 kB / 0.8301 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.0347, allocations: 0.6816 MB / 0.8308 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.03482, allocations: 99.52 kB / 0.8309 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.03486, allocations: 11.98 kB / 0.8309 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.035, allocations: 16.03 kB / 0.8309 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.03509, allocations: 43.86 kB / 0.831 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.0351, allocations: 12 kB / 0.831 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001645/0.03527, allocations: 326.6 kB / 0.8313 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.03527, allocations: 0 / 0.8313 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004656/0.03573, allocations: 220 kB / 0.8315 GB, free: 13.23 MB / 0.7917 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 (31): * Single equations (assignments): 27 * 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%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.03584, allocations: 122.1 kB / 0.8316 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008518/0.03669, allocations: 1.14 MB / 0.8327 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.0367, allocations: 0 / 0.8327 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.03725, allocations: 0.9455 MB / 0.8337 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.03779, allocations: 204.6 kB / 0.8339 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.03924, allocations: 1.255 MB / 0.8351 GB, free: 9.355 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.03939, allocations: 215.3 kB / 0.8353 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.03958, allocations: 81.42 kB / 0.8354 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.03988, allocations: 246.1 kB / 0.8356 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of SimCode: time 6.21e-07/0.03988, allocations: 0 / 0.8356 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of Templates: time 0.01337/0.05325, allocations: 12.1 MB / 0.8474 GB, free: 12.93 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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: 4.849030553828925]