Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.00182/0.00182, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002429/0.002429, allocations: 186 kB / 20.78 MB, free: 1.547 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.558/1.558, allocations: 225.6 MB / 249.4 MB, free: 3.168 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.651/2.651, allocations: 443.4 MB / 0.7304 GB, free: 13.98 MB / 0.5762 GB " [Timeout remaining time 177] 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.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 71.89 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4106, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002596/0.4132, allocations: 1.026 MB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.4152, allocations: 1.34 MB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.4153, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.4154, allocations: 23.73 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.4156, allocations: 43.66 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.4164, allocations: 277.7 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.4169, allocations: 383.2 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.4171, allocations: 57.56 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.4173, allocations: 143.7 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.4175, allocations: 135.5 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.4176, allocations: 32 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.4177, allocations: 63.97 kB / 1.22 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.4178, allocations: 55.78 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.418, allocations: 143.3 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.4185, allocations: 394.6 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4185, allocations: 7.922 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4185, allocations: 0 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.4185, allocations: 0 / 1.22 GB, free: 11.2 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001132/0.4196, allocations: 0.6263 MB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4197, allocations: 12.03 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.4198, allocations: 28.8 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.4207, allocations: 371 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.4207, allocations: 16.38 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.4208, allocations: 20.38 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.4213, allocations: 203.9 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4213, allocations: 3.938 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.4213, allocations: 12 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.4213, allocations: 4 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.4218, allocations: 143.7 kB / 1.222 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4231, allocations: 0.9109 MB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.4234, allocations: 145 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.4237, allocations: 80.3 kB / 1.223 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4237, allocations: 7.938 kB / 1.223 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.4241, allocations: 167.5 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.4241, allocations: 3.938 kB / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0008927/0.425, allocations: 257.2 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4251, allocations: 162.5 kB / 1.223 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.4254, allocations: 225 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.4254, allocations: 33.7 kB / 1.223 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.4256, allocations: 156.4 kB / 1.224 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.4256, allocations: 35.73 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.4258, allocations: 49.69 kB / 1.224 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4259, allocations: 342.8 kB / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.4263, allocations: 99.91 kB / 1.224 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.4267, allocations: 175.2 kB / 1.224 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.4273, allocations: 278.9 kB / 1.225 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4273, allocations: 0 / 1.225 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008727/0.4281, allocations: 372.6 kB / 1.225 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.4282, allocations: 63.39 kB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4282, allocations: 4 kB / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4282, allocations: 0 / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.4284, allocations: 31.91 kB / 1.225 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4284, allocations: 4.219 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.4289, allocations: 96.25 kB / 1.225 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.429, allocations: 12 kB / 1.225 GB, free: 5.668 MB / 0.9669 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.0001826/0.4291, allocations: 153.7 kB / 1.225 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.4292, allocations: 23.86 kB / 1.225 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.4292, allocations: 29.22 kB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4292, allocations: 4 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4292, allocations: 0 / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4293, allocations: 0 / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.4295, allocations: 261.5 kB / 1.226 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4296, allocations: 0 / 1.226 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.4297, allocations: 23.97 kB / 1.226 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.4297, allocations: 4 kB / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.4297, allocations: 8 kB / 1.226 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4297, allocations: 4 kB / 1.226 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4297, allocations: 7.875 kB / 1.226 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.4303, allocations: 236.2 kB / 1.226 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.4303, allocations: 93.02 kB / 1.226 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4304, allocations: 4 kB / 1.226 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4305, allocations: 15.97 kB / 1.226 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.4306, allocations: 23.92 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4306, allocations: 8 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001709/0.4308, allocations: 172.3 kB / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4308, allocations: 0 / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003107/0.4311, allocations: 51.89 kB / 1.226 GB, free: 4.453 MB / 0.9669 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.0001984/0.4313, allocations: 111.2 kB / 1.226 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007464/0.432, allocations: 322.5 kB / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.432, allocations: 0 / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4323, allocations: 72.44 kB / 1.227 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.4326, allocations: 44.41 kB / 1.227 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.4334, allocations: 403.2 kB / 1.227 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.4338, allocations: 0.7437 MB / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.4339, allocations: 37.53 kB / 1.228 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.434, allocations: 19.44 kB / 1.228 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.434, allocations: 0 / 1.228 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Templates: time 0.007992/0.4419, allocations: 3.203 MB / 1.231 GB, free: 15.46 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.629289048723876]