Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001886/0.001886, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001897/0.001897, allocations: 210 kB / 22.99 MB, free: 4.984 MB / 14.72 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 70.84 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4623, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002868/0.4651, allocations: 1.25 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.4675, allocations: 1.58 MB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.4676, allocations: 4 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.4678, allocations: 31.55 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.468, allocations: 79.38 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.4692, allocations: 0.4928 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007457/0.47, allocations: 0.6443 MB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.4703, allocations: 113.3 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.4706, allocations: 263.3 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.4709, allocations: 263 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.471, allocations: 64 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.4712, allocations: 68 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4713, allocations: 83.75 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.4715, allocations: 215.1 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007784/0.4723, allocations: 0.6852 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4723, allocations: 3.984 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4723, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4723, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001415/0.4737, allocations: 0.8827 MB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4738, allocations: 12.03 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.4739, allocations: 52.64 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.4753, allocations: 397.5 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.4753, allocations: 32.88 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/0.4754, allocations: 40.36 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008137/0.4762, allocations: 453 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4762, allocations: 3.938 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.4763, allocations: 12 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4763, allocations: 7.938 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4773, allocations: 390.3 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.4794, allocations: 0.7322 MB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4804, allocations: 488.1 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.4812, allocations: 398.3 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.4813, allocations: 7.938 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009844/0.4822, allocations: 468.1 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 3.026e-06/0.4822, allocations: 0 / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001894/0.4841, allocations: 1.1 MB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.4843, allocations: 191.9 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.4846, allocations: 276.5 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.4847, allocations: 45.64 kB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.4848, allocations: 172.9 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.485, allocations: 130.9 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.4852, allocations: 138.1 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4854, allocations: 346.8 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007865/0.4862, allocations: 0.5273 MB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000858/0.487, allocations: 0.6101 MB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4883, allocations: 0.9129 MB / 1.341 GB, free: 1.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4883, allocations: 0 / 1.341 GB, free: 1.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001932/0.4903, allocations: 1.267 MB / 1.343 GB, free: 296 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.4905, allocations: 271.2 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4905, allocations: 4 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.4905, allocations: 4 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.4908, allocations: 63.89 kB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.4908, allocations: 7.984 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/0.4915, allocations: 139.7 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.4917, allocations: 63.92 kB / 1.343 GB, free: 15.69 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003364/0.492, allocations: 334.5 kB / 1.343 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.4921, allocations: 43.69 kB / 1.343 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.4922, allocations: 39.42 kB / 1.343 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4922, allocations: 4 kB / 1.343 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4922, allocations: 0 / 1.343 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4922, allocations: 3.984 kB / 1.343 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4941, allocations: 1.216 MB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.4941, allocations: 0 / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.4944, allocations: 63.89 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4944, allocations: 8 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.4944, allocations: 11.98 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.4944, allocations: 4 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4944, allocations: 0 / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4957, allocations: 0.8996 MB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.4958, allocations: 39.69 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.4958, allocations: 12 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.4961, allocations: 23.97 kB / 1.346 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4962, allocations: 39.94 kB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.4963, allocations: 47.94 kB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001981/0.4965, allocations: 199 kB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4965, allocations: 0 / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004901/0.497, allocations: 107.9 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.4972, allocations: 126.5 kB / 1.346 GB, free: 12.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.499, allocations: 1.438 MB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.499, allocations: 8.062 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007266/0.4998, allocations: 0.6223 MB / 1.348 GB, free: 9.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.5004, allocations: 82.31 kB / 1.348 GB, free: 9.832 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.5018, allocations: 0.9229 MB / 1.349 GB, free: 8.852 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.502, allocations: 192.3 kB / 1.349 GB, free: 8.637 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.5022, allocations: 95.19 kB / 1.349 GB, free: 8.547 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.5023, allocations: 31.44 kB / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.5023, allocations: 0 / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of Templates: time 0.01393/0.5162, allocations: 7.447 MB / 1.357 GB, free: 1.203 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.763622896003653]