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.001614/0.001614, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001774/0.001774, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.061/1.061, allocations: 177.1 MB / 203.8 MB, free: 5.637 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 2.135/2.135, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.663e-06/1.663e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.109e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006068/0.006089, allocations: 6.851 MB / 0.8849 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003303/0.009392, allocations: 3.098 MB / 0.8879 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.009691, allocations: 39.62 kB / 0.8879 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.01102, allocations: 0.9802 MB / 0.8889 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.01169, allocations: 0.5357 MB / 0.8894 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.01226, allocations: 426.8 kB / 0.8898 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009629/0.01322, allocations: 1.263 MB / 0.8911 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006313/0.01385, allocations: 0.5333 MB / 0.8916 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.01445, allocations: 0.6624 MB / 0.8922 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.01493, allocations: 478.7 kB / 0.8927 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.154e-05/0.015, allocations: 72 kB / 0.8928 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.01538, allocations: 351.1 kB / 0.8931 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.0156, allocations: 331.1 kB / 0.8934 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.01583, allocations: 311.3 kB / 0.8937 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.01659, allocations: 0.8759 MB / 0.8946 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01659, allocations: 0 / 0.8946 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01659, allocations: 0 / 0.8946 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.0166, allocations: 0 / 0.8946 GB, free: 5.84 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.001208/0.01781, allocations: 1.212 MB / 0.8957 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.01785, allocations: 11.97 kB / 0.8958 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.01888, allocations: 343.7 kB / 0.8961 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.01949, allocations: 0.5408 MB / 0.8966 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.01952, allocations: 49.69 kB / 0.8967 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.0196, allocations: 64.36 kB / 0.8967 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.02052, allocations: 1.08 MB / 0.8978 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.02054, allocations: 4.188 kB / 0.8978 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.02059, allocations: 32.36 kB / 0.8978 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.02071, allocations: 89.19 kB / 0.8979 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.02119, allocations: 363.1 kB / 0.8982 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.02428, allocations: 5.717 MB / 0.9038 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.02478, allocations: 296.6 kB / 0.9041 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.0251, allocations: 141.1 kB / 0.9042 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.02513, allocations: 8.5 kB / 0.9042 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.02516, allocations: 45.83 kB / 0.9043 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.415e-06/0.02516, allocations: 0 / 0.9043 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001782/0.02694, allocations: 1.072 MB / 0.9053 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.02697, allocations: 59.91 kB / 0.9054 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.02733, allocations: 0.5257 MB / 0.9059 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.02736, allocations: 37.7 kB / 0.9059 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.02758, allocations: 474.6 kB / 0.9064 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.02767, allocations: 178.5 kB / 0.9066 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.0278, allocations: 128.2 kB / 0.9067 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.02796, allocations: 0.543 MB / 0.9072 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.02812, allocations: 113.9 kB / 0.9073 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.02843, allocations: 424.6 kB / 0.9077 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.02893, allocations: 0.5897 MB / 0.9083 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02893, allocations: 0 / 0.9083 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008711/0.0298, allocations: 0.7417 MB / 0.909 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.02983, allocations: 11.94 kB / 0.909 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.02984, allocations: 8 kB / 0.9091 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.03057, allocations: 306.5 kB / 0.9093 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.03082, allocations: 127.7 kB / 0.9095 GB, free: 5.691 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.03463, allocations: 7.607 MB / 0.9169 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.03485, allocations: 40.16 kB / 0.9169 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.03488, allocations: 35.94 kB / 0.917 GB, free: 13.52 MB / 0.8855 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.000152/0.03504, allocations: 208.4 kB / 0.9172 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.03511, allocations: 79.62 kB / 0.9172 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006909/0.0358, allocations: 0.5453 MB / 0.9178 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.03581, allocations: 4 kB / 0.9178 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.03581, allocations: 4 kB / 0.9178 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.03582, allocations: 4 kB / 0.9178 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.03717, allocations: 1.162 MB / 0.9189 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.03717, allocations: 0 / 0.9189 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.03731, allocations: 67.88 kB / 0.919 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/0.03792, allocations: 290.6 kB / 0.9193 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.03795, allocations: 12 kB / 0.9193 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.0417, allocations: 7.608 MB / 0.9267 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.0417, allocations: 4.188 kB / 0.9267 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.04243, allocations: 0.7246 MB / 0.9274 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.04256, allocations: 107.6 kB / 0.9275 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.0426, allocations: 23.91 kB / 0.9275 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.04277, allocations: 23.97 kB / 0.9276 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.04284, allocations: 51.8 kB / 0.9276 GB, free: 1.914 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.04286, allocations: 16 kB / 0.9276 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002093/0.04307, allocations: 338.8 kB / 0.928 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.04307, allocations: 4 kB / 0.928 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004688/0.04354, allocations: 224 kB / 0.9282 GB, free: 1.348 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.000133/0.04367, allocations: 115.2 kB / 0.9283 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.04472, allocations: 1.19 MB / 0.9294 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.04472, allocations: 4 kB / 0.9294 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.04534, allocations: 0.9727 MB / 0.9304 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.04596, allocations: 207.2 kB / 0.9306 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.04778, allocations: 1.251 MB / 0.9318 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.04793, allocations: 211.3 kB / 0.932 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.04813, allocations: 93.45 kB / 0.9321 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.04821, allocations: 36.5 kB / 0.9321 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of SimCode: time 1.804e-06/0.04821, allocations: 4 kB / 0.9321 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of Templates: time 0.01336/0.06157, allocations: 11.45 MB / 0.9433 GB, free: 1.824 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.990830763941631]