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.0007307/0.0007307, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.00174, allocations: 440 kB / 10.41 MB, free: 284 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.001055/0.001055, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002441, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9267/0.9267, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09029/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.566/2.566, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3392/2.905, allocations: 146 MB / 0.8176 GB, free: 3.812 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.563e-06/1.563e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.755e-05, allocations: 10.25 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004036/0.004064, allocations: 3.408 MB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.00593, allocations: 1.297 MB / 0.8235 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.006079, allocations: 11.94 kB / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.006478, allocations: 147.1 kB / 0.8237 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.006786, allocations: 290.2 kB / 0.8239 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.007072, allocations: 195.5 kB / 0.8241 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006164/0.007688, allocations: 0.6812 MB / 0.8248 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.008046, allocations: 341.8 kB / 0.8251 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.008398, allocations: 387.1 kB / 0.8255 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.008774, allocations: 279.2 kB / 0.8257 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.00882, allocations: 36 kB / 0.8258 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.009, allocations: 107.8 kB / 0.8259 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.009283, allocations: 135.6 kB / 0.826 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.009404, allocations: 127.8 kB / 0.8261 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.00977, allocations: 370.7 kB / 0.8265 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.009784, allocations: 0 / 0.8265 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.009784, allocations: 0 / 0.8265 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.009798, allocations: 0 / 0.8265 GB, free: 10.7 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.0007724/0.01057, allocations: 0.7063 MB / 0.8272 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.01061, allocations: 8.031 kB / 0.8272 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.01124, allocations: 285.7 kB / 0.8275 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.01152, allocations: 264.5 kB / 0.8277 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.01154, allocations: 25.38 kB / 0.8277 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.01158, allocations: 36.38 kB / 0.8278 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.01196, allocations: 497.8 kB / 0.8282 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.01197, allocations: 192 / 0.8282 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.012, allocations: 20.38 kB / 0.8283 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.01203, allocations: 36.58 kB / 0.8283 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.01217, allocations: 112.3 kB / 0.8284 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.01361, allocations: 1.423 MB / 0.8298 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.01385, allocations: 169.2 kB / 0.83 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.0139, allocations: 40.83 kB / 0.83 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.01391, allocations: 4 kB / 0.83 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.01394, allocations: 38.55 kB / 0.83 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.01394, allocations: 8 kB / 0.83 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0005068/0.01445, allocations: 274.1 kB / 0.8303 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.01447, allocations: 55.34 kB / 0.8304 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.01463, allocations: 256.9 kB / 0.8306 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.01465, allocations: 25.7 kB / 0.8306 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.01474, allocations: 224 kB / 0.8308 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.01478, allocations: 79.3 kB / 0.8309 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.01485, allocations: 57.67 kB / 0.831 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.01494, allocations: 342.7 kB / 0.8313 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.01498, allocations: 20 kB / 0.8313 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.01506, allocations: 118.1 kB / 0.8314 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.01522, allocations: 191 kB / 0.8316 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01522, allocations: 0 / 0.8316 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002474/0.01547, allocations: 214 kB / 0.8318 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.01548, allocations: 7.984 kB / 0.8318 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01549, allocations: 7.938 kB / 0.8318 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.0157, allocations: 77.98 kB / 0.8319 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.01587, allocations: 71.89 kB / 0.832 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.01703, allocations: 2.41 MB / 0.8343 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.566e-05/0.01712, allocations: 27.98 kB / 0.8344 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.01714, allocations: 20 kB / 0.8344 GB, free: 2.059 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.246e-05/0.01723, allocations: 128.5 kB / 0.8345 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.01727, allocations: 27.97 kB / 0.8345 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.0173, allocations: 26.12 kB / 0.8346 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.0173, allocations: 7.938 kB / 0.8346 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01731, allocations: 0 / 0.8346 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01731, allocations: 3.984 kB / 0.8346 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01748, allocations: 173.7 kB / 0.8347 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01748, allocations: 8 kB / 0.8347 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.01759, allocations: 43.91 kB / 0.8348 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.01764, allocations: 39.73 kB / 0.8348 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.0178, allocations: 61.66 kB / 0.8349 GB, free: 1.508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01781, allocations: 11.98 kB / 0.8349 GB, free: 1.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.01918, allocations: 2.409 MB / 0.8372 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01918, allocations: 0 / 0.8372 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.01942, allocations: 288.9 kB / 0.8375 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.01944, allocations: 3.984 kB / 0.8375 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.01952, allocations: 19.94 kB / 0.8375 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.01954, allocations: 20.09 kB / 0.8376 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.01955, allocations: 4 kB / 0.8376 GB, free: 14.54 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.01962, allocations: 86.77 kB / 0.8376 GB, free: 14.46 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.01962, allocations: 0 / 0.8376 GB, free: 14.46 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002198/0.01984, allocations: 103.8 kB / 0.8377 GB, free: 14.36 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.554e-05/0.01992, allocations: 88.36 kB / 0.8378 GB, free: 14.26 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.02025, allocations: 362 kB / 0.8382 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.02027, allocations: 11.97 kB / 0.8382 GB, free: 13.86 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.02044, allocations: 304.2 kB / 0.8385 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.02086, allocations: 0.6189 MB / 0.8391 GB, free: 12.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.02332, allocations: 0.6346 MB / 0.8397 GB, free: 12.13 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.507e-05/0.0234, allocations: 124.6 kB / 0.8398 GB, free: 11.99 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.02349, allocations: 34.95 kB / 0.8398 GB, free: 11.95 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.02362, allocations: 115.3 kB / 0.84 GB, free: 11.84 MB / 0.823 GB Notification: Performance of SimCode: time 4.61e-07/0.02362, allocations: 0 / 0.84 GB, free: 11.84 MB / 0.823 GB Notification: Performance of Templates: time 0.006474/0.0301, allocations: 4.252 MB / 0.8441 GB, free: 7.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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.618131655268371]