Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.059 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3789, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002803/0.3817, allocations: 1.356 MB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.384, allocations: 1.557 MB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3842, allocations: 4 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.3843, allocations: 35.55 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.3845, allocations: 83.36 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.3857, allocations: 0.4977 MB / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007367/0.3864, allocations: 0.6481 MB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.3867, allocations: 116.9 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.387, allocations: 259.4 kB / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.3873, allocations: 247.1 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.3874, allocations: 64 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3876, allocations: 79.98 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3877, allocations: 83.69 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.3879, allocations: 242.9 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.3887, allocations: 0.6773 MB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3887, allocations: 4 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3887, allocations: 0 / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3887, allocations: 0 / 1.222 GB, free: 9.43 MB / 0.9669 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.001478/0.3902, allocations: 0.958 MB / 1.223 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.3902, allocations: 12.03 kB / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.3904, allocations: 56.59 kB / 1.223 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3919, allocations: 472 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/0.3919, allocations: 28.94 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.392, allocations: 44.36 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007177/0.3927, allocations: 317.3 kB / 1.224 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3927, allocations: 7.938 kB / 1.224 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3928, allocations: 12 kB / 1.224 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.3928, allocations: 4 kB / 1.224 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.3934, allocations: 258 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.3954, allocations: 0.9006 MB / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.396, allocations: 350.5 kB / 1.225 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.3966, allocations: 267.5 kB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3966, allocations: 4 kB / 1.225 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006257/0.3972, allocations: 327 kB / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 3.115e-06/0.3972, allocations: 0 / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.001667/0.3989, allocations: 0.8373 MB / 1.227 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.399, allocations: 187.9 kB / 1.227 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.3993, allocations: 300.5 kB / 1.227 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.3994, allocations: 37.7 kB / 1.227 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3996, allocations: 173 kB / 1.227 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.3997, allocations: 134.9 kB / 1.227 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.3999, allocations: 134.1 kB / 1.228 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4001, allocations: 346.7 kB / 1.228 GB, free: 3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.4007, allocations: 284.8 kB / 1.228 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.4013, allocations: 361.8 kB / 1.228 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.4026, allocations: 0.9051 MB / 1.229 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.4026, allocations: 7.938 kB / 1.229 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001661/0.4042, allocations: 1.006 MB / 1.23 GB, free: 240 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.4044, allocations: 259.4 kB / 1.231 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4044, allocations: 4 kB / 1.231 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4045, allocations: 4 kB / 1.231 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.4047, allocations: 76.05 kB / 1.231 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4047, allocations: 4 kB / 1.231 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.4054, allocations: 143.6 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.4055, allocations: 67.92 kB / 1.231 GB, free: 15.63 MB / 0.9825 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.000331/0.4059, allocations: 318.2 kB / 1.231 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.4059, allocations: 43.69 kB / 1.231 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.753e-05/0.406, allocations: 35.5 kB / 1.231 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.406, allocations: 11.98 kB / 1.231 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.406, allocations: 0 / 1.231 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.406, allocations: 0 / 1.231 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.4079, allocations: 1.194 MB / 1.232 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4079, allocations: 0 / 1.232 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.4081, allocations: 63.89 kB / 1.233 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.4081, allocations: 4 kB / 1.233 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.4081, allocations: 11.98 kB / 1.233 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4081, allocations: 4 kB / 1.233 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4081, allocations: 3.938 kB / 1.233 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.4093, allocations: 0.7642 MB / 1.233 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.693e-05/0.4094, allocations: 116.8 kB / 1.233 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.4094, allocations: 11.94 kB / 1.233 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.4096, allocations: 31.97 kB / 1.233 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4097, allocations: 39.89 kB / 1.233 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.4098, allocations: 47.94 kB / 1.234 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002005/0.41, allocations: 199.1 kB / 1.234 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.41, allocations: 0 / 1.234 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000502/0.4105, allocations: 111.9 kB / 1.234 GB, free: 12.44 MB / 0.9825 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.0002143/0.4107, allocations: 115.9 kB / 1.234 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.4122, allocations: 1.038 MB / 1.235 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4122, allocations: 0.5625 kB / 1.235 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.4128, allocations: 0.489 MB / 1.235 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.4134, allocations: 96.72 kB / 1.235 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.4148, allocations: 0.8177 MB / 1.236 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4152, allocations: 0.7963 MB / 1.237 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000225/0.4154, allocations: 95.19 kB / 1.237 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.4155, allocations: 39.42 kB / 1.237 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.4155, allocations: 0 / 1.237 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.013/0.4285, allocations: 6.698 MB / 1.244 GB, free: 2.109 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.184838309884071]