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.0007934/0.0007934, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.00186, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007006/0.0007006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002017, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.088/1.088, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09384/1.182, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.383/2.383, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2434/2.626, allocations: 145.9 MB / 0.817 GB, free: 4.195 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.904e-06/1.904e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.778e-05, allocations: 4.984 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005632/0.00566, allocations: 3.409 MB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.007403, allocations: 1.305 MB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.007533, allocations: 15.88 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.007977, allocations: 147.2 kB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.008267, allocations: 286.2 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.008518, allocations: 195.5 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.009021, allocations: 0.685 MB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.009351, allocations: 337.7 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.009639, allocations: 391.2 kB / 0.8249 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.00997, allocations: 263.3 kB / 0.8251 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.01001, allocations: 39.94 kB / 0.8251 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.01018, allocations: 107.8 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.831e-05/0.01028, allocations: 135.6 kB / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.01038, allocations: 127.8 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.01082, allocations: 374.7 kB / 0.8259 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.01084, allocations: 0 / 0.8259 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01084, allocations: 0 / 0.8259 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.01085, allocations: 0 / 0.8259 GB, free: 11.11 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.0007646/0.01162, allocations: 0.7062 MB / 0.8265 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.01165, allocations: 16.61 kB / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.01223, allocations: 277.7 kB / 0.8268 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.01251, allocations: 256.5 kB / 0.8271 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.01253, allocations: 25.38 kB / 0.8271 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.01257, allocations: 44.34 kB / 0.8271 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.01295, allocations: 489.8 kB / 0.8276 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01296, allocations: 192 / 0.8276 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.01298, allocations: 20.36 kB / 0.8276 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.01302, allocations: 44.5 kB / 0.8277 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.01316, allocations: 108.4 kB / 0.8278 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.0144, allocations: 1.434 MB / 0.8292 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.01465, allocations: 157.2 kB / 0.8293 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.0147, allocations: 40.84 kB / 0.8294 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.01471, allocations: 0 / 0.8294 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.01474, allocations: 38.56 kB / 0.8294 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.01474, allocations: 4 kB / 0.8294 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0005155/0.01525, allocations: 266.2 kB / 0.8297 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.01528, allocations: 63.28 kB / 0.8297 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.01543, allocations: 252.9 kB / 0.83 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.01545, allocations: 29.7 kB / 0.83 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01556, allocations: 224 kB / 0.8302 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.0156, allocations: 75.3 kB / 0.8303 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.01567, allocations: 53.69 kB / 0.8303 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.01576, allocations: 338.8 kB / 0.8306 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.0158, allocations: 23.98 kB / 0.8307 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.01588, allocations: 115.7 kB / 0.8308 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.01602, allocations: 182.9 kB / 0.8309 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01603, allocations: 0 / 0.8309 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002636/0.01629, allocations: 218.9 kB / 0.8312 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01631, allocations: 11.94 kB / 0.8312 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01631, allocations: 3.984 kB / 0.8312 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.01655, allocations: 70 kB / 0.8312 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.01673, allocations: 75.89 kB / 0.8313 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.01782, allocations: 2.41 MB / 0.8337 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01792, allocations: 24 kB / 0.8337 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01794, allocations: 19.98 kB / 0.8337 GB, free: 2.508 MB / 0.8073 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 9.128e-05/0.01803, allocations: 132.5 kB / 0.8338 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01806, allocations: 19.98 kB / 0.8339 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.0181, allocations: 38.11 kB / 0.8339 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.0181, allocations: 3.938 kB / 0.8339 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01811, allocations: 0 / 0.8339 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01811, allocations: 7.984 kB / 0.8339 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.01828, allocations: 165.7 kB / 0.8341 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01828, allocations: 4 kB / 0.8341 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.0184, allocations: 47.91 kB / 0.8341 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.01845, allocations: 35.73 kB / 0.8341 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.0186, allocations: 73.67 kB / 0.8342 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.01861, allocations: 8 kB / 0.8342 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009458/0.01956, allocations: 2.413 MB / 0.8366 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01956, allocations: 0 / 0.8366 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.01979, allocations: 285.1 kB / 0.8368 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01981, allocations: 4 kB / 0.8369 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.01989, allocations: 19.92 kB / 0.8369 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01992, allocations: 16.09 kB / 0.8369 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.01993, allocations: 8 kB / 0.8369 GB, free: 14.98 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.01998, allocations: 82.77 kB / 0.837 GB, free: 14.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.01998, allocations: 0 / 0.837 GB, free: 14.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000239/0.02022, allocations: 107.8 kB / 0.8371 GB, free: 14.8 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 8.976e-05/0.02031, allocations: 88.34 kB / 0.8372 GB, free: 14.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.02061, allocations: 359.6 kB / 0.8375 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.02062, allocations: 8 kB / 0.8375 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.02077, allocations: 290 kB / 0.8378 GB, free: 14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.02104, allocations: 94.55 kB / 0.8379 GB, free: 13.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.02364, allocations: 0.6424 MB / 0.8385 GB, free: 13.24 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.02372, allocations: 124.6 kB / 0.8386 GB, free: 13.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.312e-05/0.02381, allocations: 26.98 kB / 0.8386 GB, free: 13.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.02394, allocations: 123.3 kB / 0.8388 GB, free: 12.95 MB / 0.823 GB Notification: Performance of SimCode: time 7.11e-07/0.02394, allocations: 0 / 0.8388 GB, free: 12.95 MB / 0.823 GB Notification: Performance of Templates: time 0.006032/0.02998, allocations: 4.232 MB / 0.8429 GB, free: 8.797 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.ref.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.289849776774645]