Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009867/0.0009867, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001011/0.001011, allocations: 181 kB / 23.36 MB, free: 1.129 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.9579/0.9579, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.544/2.544, allocations: 438.8 MB / 0.6826 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.586e-05, allocations: 12.72 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003512/0.003548, allocations: 3.34 MB / 0.8419 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.005017, allocations: 1.273 MB / 0.8431 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.005138, allocations: 11.94 kB / 0.8431 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.005534, allocations: 135.2 kB / 0.8432 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.005829, allocations: 242.4 kB / 0.8435 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.006084, allocations: 203.5 kB / 0.8437 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00043/0.006514, allocations: 0.6302 MB / 0.8443 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.006836, allocations: 357.7 kB / 0.8446 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.007089, allocations: 343.3 kB / 0.845 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.007638, allocations: 243.2 kB / 0.8452 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.007681, allocations: 40 kB / 0.8452 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.007835, allocations: 103.8 kB / 0.8453 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.007944, allocations: 159.5 kB / 0.8455 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.008066, allocations: 155.7 kB / 0.8456 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.008439, allocations: 406.6 kB / 0.846 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.008442, allocations: 4 kB / 0.846 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.72e-07/0.008443, allocations: 0 / 0.846 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.008448, allocations: 4 kB / 0.846 GB, free: 6.617 MB / 0.8073 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.000712/0.00916, allocations: 0.6086 MB / 0.8466 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.009199, allocations: 8.625 kB / 0.8466 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006155/0.009815, allocations: 204.5 kB / 0.8468 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.01012, allocations: 252.5 kB / 0.8471 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.01014, allocations: 33.36 kB / 0.8471 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.01019, allocations: 32.38 kB / 0.8471 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.01059, allocations: 497.8 kB / 0.8476 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.0106, allocations: 4.125 kB / 0.8476 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.01063, allocations: 20.36 kB / 0.8476 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.01067, allocations: 32.58 kB / 0.8476 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.01082, allocations: 112.4 kB / 0.8478 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.012, allocations: 1.43 MB / 0.8492 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.01223, allocations: 169 kB / 0.8493 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.01228, allocations: 36.84 kB / 0.8493 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.01229, allocations: 8 kB / 0.8494 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.01231, allocations: 34.5 kB / 0.8494 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.01231, allocations: 0 / 0.8494 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0004833/0.0128, allocations: 273.5 kB / 0.8496 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.01282, allocations: 59.34 kB / 0.8497 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.01297, allocations: 248.9 kB / 0.8499 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.01299, allocations: 33.7 kB / 0.85 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.01307, allocations: 220 kB / 0.8502 GB, free: 2.102 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.0131, allocations: 71.41 kB / 0.8503 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.01317, allocations: 61.64 kB / 0.8503 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.01325, allocations: 338.8 kB / 0.8506 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.01328, allocations: 27.98 kB / 0.8507 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.01336, allocations: 111.8 kB / 0.8508 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.01349, allocations: 168.4 kB / 0.8509 GB, free: 1.254 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.0135, allocations: 8 kB / 0.8509 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002457/0.01374, allocations: 210.9 kB / 0.8511 GB, free: 1.027 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01376, allocations: 8 kB / 0.8511 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01376, allocations: 8.328 kB / 0.8512 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.01399, allocations: 73.64 kB / 0.8512 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.01416, allocations: 71.91 kB / 0.8513 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.01578, allocations: 2.422 MB / 0.8537 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.01589, allocations: 31.78 kB / 0.8537 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.0159, allocations: 8 kB / 0.8537 GB, free: 14.2 MB / 0.823 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 (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/0.01599, allocations: 128.6 kB / 0.8538 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.01602, allocations: 23.97 kB / 0.8538 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.01606, allocations: 38.11 kB / 0.8539 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01606, allocations: 11.88 kB / 0.8539 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01606, allocations: 0 / 0.8539 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01606, allocations: 4.062 kB / 0.8539 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01624, allocations: 177.6 kB / 0.8541 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01624, allocations: 3.984 kB / 0.8541 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.01636, allocations: 43.95 kB / 0.8541 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.01652, allocations: 65.66 kB / 0.8542 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.01653, allocations: 4 kB / 0.8542 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009864/0.01752, allocations: 2.417 MB / 0.8565 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01752, allocations: 0 / 0.8565 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.01777, allocations: 284.3 kB / 0.8568 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.01783, allocations: 39.73 kB / 0.8568 GB, free: 10.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01785, allocations: 4.156 kB / 0.8568 GB, free: 10.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.01794, allocations: 19.92 kB / 0.8569 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.01796, allocations: 15.97 kB / 0.8569 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01797, allocations: 4 kB / 0.8569 GB, free: 10.69 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.01804, allocations: 82.77 kB / 0.857 GB, free: 10.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01804, allocations: 4 kB / 0.857 GB, free: 10.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002441/0.01828, allocations: 107.7 kB / 0.8571 GB, free: 10.5 MB / 0.823 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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 9.448e-05/0.01837, allocations: 88.41 kB / 0.8572 GB, free: 10.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.01871, allocations: 357.7 kB / 0.8575 GB, free: 10.02 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.01872, allocations: 4 kB / 0.8575 GB, free: 10.02 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.01889, allocations: 292.4 kB / 0.8578 GB, free: 9.707 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.01914, allocations: 62.25 kB / 0.8578 GB, free: 9.641 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.02006, allocations: 0.6504 MB / 0.8585 GB, free: 8.957 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.179e-05/0.02013, allocations: 124.6 kB / 0.8586 GB, free: 8.816 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.892e-05/0.02022, allocations: 34.95 kB / 0.8586 GB, free: 8.785 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.02036, allocations: 111.3 kB / 0.8587 GB, free: 8.676 MB / 0.823 GB Notification: Performance of SimCode: time 7.71e-07/0.02036, allocations: 0 / 0.8587 GB, free: 8.676 MB / 0.823 GB Notification: Performance of Templates: time 0.006294/0.02665, allocations: 4.095 MB / 0.8627 GB, free: 4.672 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.378530002199113]