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.000965/0.000965, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009835/0.0009835, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9643/0.9643, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.87/1.87, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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 2.084e-06/2.084e-06, allocations: 0 / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.977e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.01184/0.01187, allocations: 4.463 MB / 0.8159 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005946/0.01781, allocations: 1.905 MB / 0.8177 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.01811, allocations: 11.94 kB / 0.8177 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00421/0.02232, allocations: 0.6013 MB / 0.8183 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005796/0.0229, allocations: 281.2 kB / 0.8186 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.02339, allocations: 253.1 kB / 0.8188 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.02396, allocations: 0.6342 MB / 0.8194 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.02458, allocations: 351.1 kB / 0.8198 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.02491, allocations: 356.3 kB / 0.8201 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.02535, allocations: 243.4 kB / 0.8203 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.02542, allocations: 37.38 kB / 0.8204 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.02583, allocations: 235.3 kB / 0.8206 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.026, allocations: 163.5 kB / 0.8208 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.02617, allocations: 155.7 kB / 0.8209 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.02685, allocations: 475.5 kB / 0.8214 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.02686, allocations: 0 / 0.8214 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02686, allocations: 0 / 0.8214 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.02687, allocations: 0.5938 kB / 0.8214 GB, free: 7.98 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.001016/0.02788, allocations: 0.7642 MB / 0.8221 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.02792, allocations: 12.03 kB / 0.8221 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.02859, allocations: 215.4 kB / 0.8223 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.02893, allocations: 285.5 kB / 0.8226 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.02895, allocations: 21.38 kB / 0.8226 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.02899, allocations: 40.36 kB / 0.8227 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.02949, allocations: 0.5306 MB / 0.8232 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.0295, allocations: 4.125 kB / 0.8232 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.02953, allocations: 16.36 kB / 0.8232 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.02958, allocations: 37.08 kB / 0.8232 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.02983, allocations: 161.6 kB / 0.8234 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.03145, allocations: 2.056 MB / 0.8254 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.03178, allocations: 183.1 kB / 0.8256 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.03185, allocations: 51.66 kB / 0.8256 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.03186, allocations: 4 kB / 0.8256 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.03189, allocations: 45.33 kB / 0.8257 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.03189, allocations: 0 / 0.8257 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001204/0.03309, allocations: 0.6817 MB / 0.8263 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.03313, allocations: 52.5 kB / 0.8264 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.03334, allocations: 320.1 kB / 0.8267 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.03336, allocations: 33.7 kB / 0.8267 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.03348, allocations: 279.7 kB / 0.827 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.03353, allocations: 87.27 kB / 0.8271 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.0336, allocations: 73.77 kB / 0.8271 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.03373, allocations: 0.5078 MB / 0.8276 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.0338, allocations: 44.62 kB / 0.8277 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.03393, allocations: 169.6 kB / 0.8278 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.03416, allocations: 239 kB / 0.8281 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.03416, allocations: 0 / 0.8281 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004064/0.03457, allocations: 340.8 kB / 0.8284 GB, free: 340 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.03458, allocations: 11.92 kB / 0.8284 GB, free: 328 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.03459, allocations: 4 kB / 0.8284 GB, free: 324 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/0.03492, allocations: 123.1 kB / 0.8285 GB, free: 188 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.03507, allocations: 59.91 kB / 0.8286 GB, free: 128 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.03739, allocations: 5.284 MB / 0.8337 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.03751, allocations: 12 kB / 0.8338 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.03753, allocations: 15.94 kB / 0.8338 GB, free: 10.44 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.0001182/0.03765, allocations: 180.4 kB / 0.8339 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.03769, allocations: 35.95 kB / 0.834 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.03773, allocations: 42.25 kB / 0.834 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.03773, allocations: 0 / 0.834 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.03773, allocations: 8.062 kB / 0.834 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.03774, allocations: 4 kB / 0.834 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.03797, allocations: 264.5 kB / 0.8343 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.03798, allocations: 0 / 0.8343 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.03809, allocations: 39.91 kB / 0.8343 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.03836, allocations: 119 kB / 0.8344 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.03838, allocations: 0 / 0.8344 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.04068, allocations: 5.288 MB / 0.8396 GB, free: 4.055 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.04069, allocations: 8 kB / 0.8396 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.04116, allocations: 441.2 kB / 0.84 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.04124, allocations: 43.83 kB / 0.8401 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.04126, allocations: 4 kB / 0.8401 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.04136, allocations: 12 kB / 0.8401 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.04141, allocations: 16.05 kB / 0.8401 GB, free: 3.512 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.04142, allocations: 12 kB / 0.8401 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000139/0.04156, allocations: 209.1 kB / 0.8403 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.04156, allocations: 0 / 0.8403 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000375/0.04194, allocations: 103.9 kB / 0.8404 GB, free: 3.199 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.0001364/0.04207, allocations: 107.2 kB / 0.8405 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.04266, allocations: 0.6728 MB / 0.8412 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.04266, allocations: 0 / 0.8412 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.04296, allocations: 0.5836 MB / 0.8417 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.04326, allocations: 56.95 kB / 0.8418 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.04429, allocations: 0.6597 MB / 0.8424 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.04438, allocations: 136.4 kB / 0.8426 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.04449, allocations: 50.92 kB / 0.8426 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.04454, allocations: 20.5 kB / 0.8426 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of SimCode: time 9.32e-07/0.04454, allocations: 7.938 kB / 0.8426 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of Templates: time 0.006431/0.05097, allocations: 4.401 MB / 0.8469 GB, free: 12.43 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.038495785091072]