Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.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.0009692/0.0009692, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009798/0.0009798, allocations: 165 kB / 23.82 MB, free: 0.7461 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.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.894/1.894, 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.886e-05, allocations: 2.844 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.01048/0.01051, allocations: 3.324 MB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.01261, allocations: 1.256 MB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.0128, allocations: 15.88 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.0164, allocations: 129.1 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.01688, allocations: 244.9 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.01732, allocations: 204.1 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.01794, allocations: 0.6388 MB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.01849, allocations: 340.8 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.01884, allocations: 355.2 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.02226, allocations: 243.3 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.0223, allocations: 36 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.02249, allocations: 108.4 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.0226, allocations: 164.7 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.02272, allocations: 159.6 kB / 0.8185 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.02313, allocations: 402.7 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.02313, allocations: 0 / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.02313, allocations: 1.156 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.02314, allocations: 0 / 0.8189 GB, free: 10.21 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008831/0.02402, allocations: 0.7401 MB / 0.8196 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.02406, allocations: 8.594 kB / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006098/0.02467, allocations: 225.9 kB / 0.8198 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.02499, allocations: 285.9 kB / 0.8201 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.02501, allocations: 25.38 kB / 0.8201 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.02507, allocations: 32.38 kB / 0.8202 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.02552, allocations: 0.529 MB / 0.8207 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.02554, allocations: 192 / 0.8207 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.02557, allocations: 20.36 kB / 0.8207 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.02561, allocations: 36.58 kB / 0.8207 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.02585, allocations: 161.7 kB / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.02734, allocations: 2.057 MB / 0.8229 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.02766, allocations: 189.7 kB / 0.8231 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.02774, allocations: 56.31 kB / 0.8231 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.02775, allocations: 7.594 kB / 0.8231 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.02778, allocations: 37.39 kB / 0.8232 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.02778, allocations: 0 / 0.8232 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.00119/0.02897, allocations: 0.6808 MB / 0.8238 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.029, allocations: 60.47 kB / 0.8239 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.02921, allocations: 316.2 kB / 0.8242 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.02922, allocations: 29.7 kB / 0.8242 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.02934, allocations: 283.8 kB / 0.8245 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.02939, allocations: 87.31 kB / 0.8246 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.02947, allocations: 64.73 kB / 0.8247 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.0296, allocations: 0.5156 MB / 0.8252 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.02967, allocations: 48.62 kB / 0.8252 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.0298, allocations: 166.6 kB / 0.8254 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.03002, allocations: 230.6 kB / 0.8256 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.03002, allocations: 2.312 kB / 0.8256 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004039/0.03043, allocations: 340.3 kB / 0.8259 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.03044, allocations: 8 kB / 0.8259 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.03045, allocations: 4.344 kB / 0.8259 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.03078, allocations: 126.9 kB / 0.826 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.03094, allocations: 67.91 kB / 0.8261 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.03317, allocations: 5.28 MB / 0.8313 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.03328, allocations: 8 kB / 0.8313 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.0333, allocations: 12 kB / 0.8313 GB, free: 12.7 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.03341, allocations: 192.5 kB / 0.8315 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.03346, allocations: 43.8 kB / 0.8315 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.03349, allocations: 30.28 kB / 0.8315 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.03349, allocations: 4 kB / 0.8315 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.0335, allocations: 0 / 0.8315 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.0335, allocations: 3.984 kB / 0.8315 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.03373, allocations: 264.5 kB / 0.8318 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.03374, allocations: 0 / 0.8318 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.03384, allocations: 39.97 kB / 0.8318 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/0.03412, allocations: 119 kB / 0.8319 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.03414, allocations: 7.938 kB / 0.832 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.03626, allocations: 5.288 MB / 0.8371 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03626, allocations: 0 / 0.8371 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.03668, allocations: 441.3 kB / 0.8375 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.03675, allocations: 47.83 kB / 0.8376 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.03677, allocations: 0 / 0.8376 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.03688, allocations: 12 kB / 0.8376 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.03692, allocations: 19.97 kB / 0.8376 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.03693, allocations: 4 kB / 0.8376 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001242/0.03705, allocations: 213.1 kB / 0.8378 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.03705, allocations: 7.938 kB / 0.8378 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003367/0.03739, allocations: 95.94 kB / 0.8379 GB, free: 5.453 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.03751, allocations: 111.2 kB / 0.838 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005976/0.03811, allocations: 0.673 MB / 0.8387 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.03811, allocations: 4 kB / 0.8387 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.03842, allocations: 0.5831 MB / 0.8393 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.03876, allocations: 63.5 kB / 0.8393 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.03996, allocations: 0.6505 MB / 0.84 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.991e-05/0.04006, allocations: 136.4 kB / 0.8401 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.04019, allocations: 50.92 kB / 0.8401 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.04024, allocations: 24.5 kB / 0.8402 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/0.04024, allocations: 0 / 0.8402 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of Templates: time 0.006851/0.04709, allocations: 4.394 MB / 0.8444 GB, free: 14.68 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.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.357199385296553]