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.0009768/0.0009768, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001578/0.001578, allocations: 161 kB / 23.82 MB, free: 0.7539 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.065/1.065, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.8/1.8, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.874e-06/1.874e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.249e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005366/0.005399, allocations: 3.331 MB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.007883, allocations: 1.249 MB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.008115, allocations: 17.34 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000683/0.008798, allocations: 123.3 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.009416, allocations: 252.3 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.009968, allocations: 201.4 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007833/0.01075, allocations: 0.6364 MB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006481/0.0114, allocations: 343.1 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.01187, allocations: 355.2 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.01242, allocations: 243.3 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.561e-05/0.0125, allocations: 40.53 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.01278, allocations: 108.3 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.01295, allocations: 175.5 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.01317, allocations: 152.4 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.01378, allocations: 394.7 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.01379, allocations: 0.5312 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.323e-06/0.01379, allocations: 1.5 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.0138, allocations: 0 / 0.8189 GB, free: 10.16 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.001215/0.01501, allocations: 0.7549 MB / 0.8196 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.01506, allocations: 12.94 kB / 0.8197 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.01609, allocations: 210.2 kB / 0.8199 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.01657, allocations: 281.6 kB / 0.8201 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.0166, allocations: 29.38 kB / 0.8202 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.01668, allocations: 36.36 kB / 0.8202 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.01741, allocations: 0.5278 MB / 0.8207 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.01743, allocations: 192 / 0.8207 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.01748, allocations: 16.36 kB / 0.8207 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/0.01754, allocations: 38.55 kB / 0.8208 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.01797, allocations: 163.7 kB / 0.8209 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.02034, allocations: 2.051 MB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.02084, allocations: 187.6 kB / 0.8231 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.02096, allocations: 55.66 kB / 0.8231 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.02098, allocations: 1.344 kB / 0.8231 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.02101, allocations: 41.39 kB / 0.8232 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.996e-06/0.02102, allocations: 0 / 0.8232 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001896/0.02291, allocations: 0.6837 MB / 0.8239 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.02295, allocations: 59.34 kB / 0.8239 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.02325, allocations: 312.2 kB / 0.8242 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.02328, allocations: 37.64 kB / 0.8242 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.02344, allocations: 282.8 kB / 0.8245 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.02351, allocations: 83.33 kB / 0.8246 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.02362, allocations: 72.58 kB / 0.8247 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.02379, allocations: 0.5078 MB / 0.8252 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.02396, allocations: 45.75 kB / 0.8252 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.02412, allocations: 169.7 kB / 0.8254 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.02434, allocations: 238.4 kB / 0.8256 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02435, allocations: 1.938 kB / 0.8256 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004575/0.0248, allocations: 332.7 kB / 0.8259 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.02483, allocations: 11.98 kB / 0.8259 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.02483, allocations: 0.5938 kB / 0.8259 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.02518, allocations: 121 kB / 0.826 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.02534, allocations: 63.91 kB / 0.8261 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.02748, allocations: 5.296 MB / 0.8313 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.0276, allocations: 8 kB / 0.8313 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.02761, allocations: 12 kB / 0.8313 GB, free: 12.64 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.0001367/0.02775, allocations: 188.3 kB / 0.8315 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.02779, allocations: 35.81 kB / 0.8315 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.02782, allocations: 38.27 kB / 0.8315 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02783, allocations: 4.062 kB / 0.8315 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.02783, allocations: 4 kB / 0.8315 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.02784, allocations: 0 / 0.8315 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.02807, allocations: 264.5 kB / 0.8318 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02807, allocations: 0 / 0.8318 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.885e-05/0.02817, allocations: 35.97 kB / 0.8318 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.02844, allocations: 122.9 kB / 0.8319 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.02845, allocations: 0 / 0.8319 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.03036, allocations: 5.299 MB / 0.8371 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.03036, allocations: 0 / 0.8371 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.03076, allocations: 441.2 kB / 0.8375 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.03083, allocations: 43.83 kB / 0.8376 GB, free: 5.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.03085, allocations: 4 kB / 0.8376 GB, free: 5.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.03095, allocations: 11.94 kB / 0.8376 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.03099, allocations: 24.05 kB / 0.8376 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.031, allocations: 12 kB / 0.8376 GB, free: 5.691 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001114/0.03111, allocations: 205.1 kB / 0.8378 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.03111, allocations: 0 / 0.8378 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003072/0.03142, allocations: 99.94 kB / 0.8379 GB, free: 5.398 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.0001024/0.03152, allocations: 107.2 kB / 0.838 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.03202, allocations: 0.6766 MB / 0.8387 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.03202, allocations: 0 / 0.8387 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.03233, allocations: 0.5877 MB / 0.8393 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.03261, allocations: 59.19 kB / 0.8393 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.03359, allocations: 0.6505 MB / 0.84 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.03368, allocations: 136.4 kB / 0.8401 GB, free: 3.012 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.03378, allocations: 46.94 kB / 0.8401 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.03383, allocations: 24.5 kB / 0.8402 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of SimCode: time 5.92e-07/0.03383, allocations: 0 / 0.8402 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of Templates: time 0.00634/0.04017, allocations: 4.573 MB / 0.8446 GB, free: 14.45 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.199676192831248]