Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009434/0.0009434, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001431/0.001431, allocations: 173 kB / 23.03 MB, free: 1.543 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.8998/0.8998, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.954/1.954, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.873e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004931/0.00496, allocations: 4.809 MB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.007793, allocations: 1.688 MB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.008275, allocations: 39.62 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.009016, allocations: 206.4 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008641/0.00988, allocations: 450.9 kB / 0.8852 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.01064, allocations: 381.2 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01188, allocations: 1.263 MB / 0.8868 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008156/0.01269, allocations: 0.5418 MB / 0.8873 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009064/0.0136, allocations: 0.6636 MB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007557/0.01435, allocations: 0.4909 MB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.01447, allocations: 68 kB / 0.8885 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.01479, allocations: 143.7 kB / 0.8886 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.01503, allocations: 331.1 kB / 0.889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.01531, allocations: 307.3 kB / 0.8893 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.01615, allocations: 0.7396 MB / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.01616, allocations: 0 / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01616, allocations: 0 / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.682e-05/0.01619, allocations: 0 / 0.89 GB, free: 10.23 MB / 0.8542 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.001352/0.01754, allocations: 1.181 MB / 0.8911 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.01758, allocations: 12.03 kB / 0.8911 GB, free: 9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008631/0.01844, allocations: 315.8 kB / 0.8914 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.01909, allocations: 0.5433 MB / 0.892 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.01913, allocations: 41.69 kB / 0.892 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.0192, allocations: 68.36 kB / 0.8921 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.02016, allocations: 1.084 MB / 0.8931 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.02018, allocations: 4.188 kB / 0.8931 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.02023, allocations: 24.38 kB / 0.8932 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.02034, allocations: 93.19 kB / 0.8932 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.02086, allocations: 359.1 kB / 0.8936 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.0243, allocations: 5.713 MB / 0.8992 GB, free: 348 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.02479, allocations: 289.6 kB / 0.8994 GB, free: 44 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.02498, allocations: 133.1 kB / 0.8996 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.02501, allocations: 12.44 kB / 0.8996 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.02503, allocations: 41.89 kB / 0.8996 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.765e-06/0.02504, allocations: 0 / 0.8996 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.002128/0.02716, allocations: 1.087 MB / 0.9007 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.0272, allocations: 55.91 kB / 0.9007 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.0277, allocations: 0.5335 MB / 0.9013 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.02773, allocations: 33.7 kB / 0.9013 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.028, allocations: 470.6 kB / 0.9017 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.02814, allocations: 186.5 kB / 0.9019 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.02831, allocations: 128.2 kB / 0.902 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.02849, allocations: 0.5391 MB / 0.9026 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.02871, allocations: 113.9 kB / 0.9027 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.02909, allocations: 428.6 kB / 0.9031 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/0.02974, allocations: 0.5819 MB / 0.9037 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.02975, allocations: 4 kB / 0.9037 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001191/0.03094, allocations: 0.7379 MB / 0.9044 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.03096, allocations: 12 kB / 0.9044 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.03097, allocations: 8 kB / 0.9044 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/0.03194, allocations: 306.4 kB / 0.9047 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.0323, allocations: 131.7 kB / 0.9048 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.03705, allocations: 7.607 MB / 0.9122 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.03746, allocations: 40 kB / 0.9123 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.03751, allocations: 35.92 kB / 0.9123 GB, free: 1.969 MB / 0.8698 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.0002326/0.03774, allocations: 204.4 kB / 0.9125 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.03785, allocations: 79.62 kB / 0.9126 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009044/0.03876, allocations: 0.5531 MB / 0.9131 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.03876, allocations: 4 kB / 0.9131 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.03877, allocations: 4 kB / 0.9131 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.03878, allocations: 3.984 kB / 0.9131 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.04046, allocations: 1.163 MB / 0.9143 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.04046, allocations: 4 kB / 0.9143 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.04065, allocations: 59.89 kB / 0.9143 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008474/0.0415, allocations: 294.6 kB / 0.9146 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.04153, allocations: 8 kB / 0.9146 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/0.04609, allocations: 7.608 MB / 0.9221 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.04609, allocations: 3.984 kB / 0.9221 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.04707, allocations: 0.7324 MB / 0.9228 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.04728, allocations: 103.6 kB / 0.9229 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.04734, allocations: 15.92 kB / 0.9229 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.04758, allocations: 32 kB / 0.9229 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.04771, allocations: 51.8 kB / 0.923 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.04773, allocations: 12 kB / 0.923 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002888/0.04802, allocations: 342.8 kB / 0.9233 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.04802, allocations: 0 / 0.9233 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007492/0.04877, allocations: 220 kB / 0.9235 GB, free: 5.805 MB / 0.8855 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.0001486/0.04892, allocations: 118.4 kB / 0.9236 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.05029, allocations: 1.19 MB / 0.9248 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.0503, allocations: 0 / 0.9248 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008572/0.05115, allocations: 0.9806 MB / 0.9257 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.05195, allocations: 202.4 kB / 0.9259 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.05414, allocations: 1.248 MB / 0.9272 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.05434, allocations: 211.3 kB / 0.9274 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.05464, allocations: 97.44 kB / 0.9275 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.05474, allocations: 40.5 kB / 0.9275 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of SimCode: time 1.794e-06/0.05474, allocations: 4 kB / 0.9275 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of Templates: time 0.01804/0.07278, allocations: 11.97 MB / 0.9392 GB, free: 5.754 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.3700354332104325]