Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.00189/0.00189, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002408/0.002408, allocations: 206.9 kB / 22.24 MB, free: 5.262 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.682/1.682, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.053/3.053, allocations: 475.9 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.002139/0.002139, allocations: 70.75 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4108, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002439/0.4132, allocations: 0.9704 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.4154, allocations: 1.344 MB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.4155, allocations: 3.938 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.4156, allocations: 15.8 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.4158, allocations: 47.66 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.4166, allocations: 285.9 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.4171, allocations: 387.2 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.4173, allocations: 33.8 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.4175, allocations: 159.7 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.4177, allocations: 119.5 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.4178, allocations: 36 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.4179, allocations: 51.98 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.418, allocations: 51.84 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.4182, allocations: 127.4 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.4187, allocations: 398.6 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4187, allocations: 0 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4187, allocations: 0 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4187, allocations: 3.938 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001089/0.4198, allocations: 0.5433 MB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4199, allocations: 12.03 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.4202, allocations: 68.7 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.4212, allocations: 305.1 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.4212, allocations: 28.3 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.4213, allocations: 24.38 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.4218, allocations: 199.6 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4218, allocations: 3.938 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.4218, allocations: 8 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4218, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.4223, allocations: 147.7 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4237, allocations: 0.7897 MB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.424, allocations: 152.9 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.4243, allocations: 80.3 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.4243, allocations: 0 / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/0.4248, allocations: 167.5 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.4248, allocations: 0 / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0009372/0.4257, allocations: 269.9 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/0.4258, allocations: 158.2 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.4261, allocations: 221 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.4261, allocations: 33.7 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.4262, allocations: 156.3 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.4263, allocations: 27.88 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4264, allocations: 57.69 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4266, allocations: 330.8 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.427, allocations: 167.4 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.4275, allocations: 284.2 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.4281, allocations: 270.9 kB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4281, allocations: 3.938 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00106/0.4291, allocations: 447.9 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4293, allocations: 71.39 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4293, allocations: 4 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4293, allocations: 4 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.4295, allocations: 32.12 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.4296, allocations: 4 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.4301, allocations: 67.81 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.4302, allocations: 19.98 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0002571/0.4304, allocations: 156.2 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.4305, allocations: 19.91 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.731e-05/0.4305, allocations: 21.33 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4306, allocations: 4 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.4306, allocations: 0 / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.4306, allocations: 4 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.4309, allocations: 185.2 kB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4309, allocations: 0 / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.4311, allocations: 27.97 kB / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4311, allocations: 0 / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.4311, allocations: 11.94 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4311, allocations: 0 / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.4311, allocations: 7.938 kB / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.4318, allocations: 240.2 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.4318, allocations: 27.78 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.4319, allocations: 4 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.432, allocations: 15.98 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.4321, allocations: 23.91 kB / 1.293 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4321, allocations: 4 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001642/0.4322, allocations: 160.5 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4322, allocations: 0 / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002933/0.4325, allocations: 51.89 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001797/0.4327, allocations: 107.2 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008817/0.4336, allocations: 373.9 kB / 1.293 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4336, allocations: 4 kB / 1.293 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.4339, allocations: 76.38 kB / 1.293 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4343, allocations: 48.34 kB / 1.293 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.435, allocations: 391.5 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.4352, allocations: 140.8 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.4353, allocations: 34.14 kB / 1.294 GB, free: 124 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.4354, allocations: 27.41 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.4354, allocations: 0 / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of Templates: time 0.008418/0.4438, allocations: 3.518 MB / 1.297 GB, free: 12.66 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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: 10.068623587489128]