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.001257/0.001257, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001573/0.001573, allocations: 167.2 kB / 24.87 MB, free: 8.84 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.9437/0.9437, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.762/1.762, allocations: 359 MB / 0.6063 GB, free: 10.87 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.313e-06/1.313e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.552e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004261/0.004276, allocations: 4.725 MB / 0.7929 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.006634, allocations: 1.689 MB / 0.7946 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.006918, allocations: 39.62 kB / 0.7946 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.007455, allocations: 211.1 kB / 0.7948 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.008027, allocations: 445.8 kB / 0.7952 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.008559, allocations: 373.5 kB / 0.7956 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009065/0.009465, allocations: 1.279 MB / 0.7969 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/0.01003, allocations: 0.5261 MB / 0.7974 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.01062, allocations: 0.667 MB / 0.798 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.01114, allocations: 0.496 MB / 0.7985 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.01121, allocations: 64 kB / 0.7986 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.01142, allocations: 144.6 kB / 0.7987 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.01162, allocations: 331 kB / 0.799 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.01184, allocations: 309.1 kB / 0.7993 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.01242, allocations: 0.7396 MB / 0.8 GB, free: 212 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.01242, allocations: 0 / 0.8 GB, free: 212 kB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01242, allocations: 0 / 0.8 GB, free: 212 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.01243, allocations: 0 / 0.8 GB, free: 212 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.001046/0.01348, allocations: 1.172 MB / 0.8012 GB, free: 15 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.01351, allocations: 8.031 kB / 0.8012 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007276/0.01423, allocations: 278.1 kB / 0.8015 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.01476, allocations: 0.5232 MB / 0.802 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.01479, allocations: 49.67 kB / 0.802 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.01486, allocations: 68.98 kB / 0.8021 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006611/0.01552, allocations: 1.025 MB / 0.8031 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.01554, allocations: 5.188 kB / 0.8031 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.01558, allocations: 36.36 kB / 0.8031 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.957e-05/0.01568, allocations: 93.12 kB / 0.8032 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.01599, allocations: 289.3 kB / 0.8035 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.01875, allocations: 5.583 MB / 0.8089 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.01912, allocations: 251.3 kB / 0.8092 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.01924, allocations: 113.1 kB / 0.8093 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.01926, allocations: 9.625 kB / 0.8093 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.01929, allocations: 41.89 kB / 0.8093 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 1.383e-06/0.01929, allocations: 0 / 0.8093 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001457/0.02075, allocations: 0.906 MB / 0.8102 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.02077, allocations: 59.91 kB / 0.8103 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.02106, allocations: 0.5176 MB / 0.8108 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.02109, allocations: 37.7 kB / 0.8108 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.02128, allocations: 482.5 kB / 0.8113 GB, free: 4.168 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-05/0.02137, allocations: 178.5 kB / 0.8114 GB, free: 3.992 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.0215, allocations: 128.2 kB / 0.8116 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.02164, allocations: 0.5507 MB / 0.8121 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.02175, allocations: 89.92 kB / 0.8122 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.02197, allocations: 396.6 kB / 0.8126 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.02235, allocations: 0.5349 MB / 0.8131 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.02236, allocations: 7.938 kB / 0.8131 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007281/0.02308, allocations: 0.6754 MB / 0.8138 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.0231, allocations: 8 kB / 0.8138 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.02311, allocations: 8 kB / 0.8138 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/0.02377, allocations: 302.5 kB / 0.8141 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.02399, allocations: 107.8 kB / 0.8142 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.0273, allocations: 7.476 MB / 0.8215 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.02752, allocations: 20.05 kB / 0.8215 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.02755, allocations: 27.98 kB / 0.8215 GB, free: 8.898 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.0001451/0.0277, allocations: 196.5 kB / 0.8217 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.02778, allocations: 91.52 kB / 0.8218 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.02836, allocations: 0.4984 MB / 0.8223 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02836, allocations: 4 kB / 0.8223 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.02837, allocations: 7.938 kB / 0.8223 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02837, allocations: 7.984 kB / 0.8223 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.0294, allocations: 1.006 MB / 0.8233 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.02941, allocations: 0 / 0.8233 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.02953, allocations: 55.91 kB / 0.8233 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/0.03014, allocations: 282.6 kB / 0.8236 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.03016, allocations: 4 kB / 0.8236 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/0.03351, allocations: 7.469 MB / 0.8309 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.03351, allocations: 3.938 kB / 0.8309 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.03412, allocations: 0.6855 MB / 0.8316 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.03424, allocations: 95.52 kB / 0.8317 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.03428, allocations: 15.97 kB / 0.8317 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.03444, allocations: 16 kB / 0.8317 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.03451, allocations: 47.8 kB / 0.8317 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.03452, allocations: 12 kB / 0.8317 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001645/0.03469, allocations: 322.7 kB / 0.8321 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3e-08/0.03469, allocations: 0 / 0.8321 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004788/0.03517, allocations: 224 kB / 0.8323 GB, free: 13.24 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.0001178/0.03528, allocations: 115.2 kB / 0.8324 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008651/0.03615, allocations: 1.14 MB / 0.8335 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.03615, allocations: 0 / 0.8335 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.03672, allocations: 0.9456 MB / 0.8344 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.03729, allocations: 193 kB / 0.8346 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.03874, allocations: 1.266 MB / 0.8358 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.03888, allocations: 211.3 kB / 0.836 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000189/0.03907, allocations: 69.5 kB / 0.8361 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.03936, allocations: 250 kB / 0.8363 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of SimCode: time 7.51e-07/0.03936, allocations: 4 kB / 0.8363 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of Templates: time 0.01393/0.05329, allocations: 12.33 MB / 0.8484 GB, free: 12.75 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: 5.152377355843782]