Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001958/0.001958, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002266/0.002266, allocations: 211.9 kB / 23 MB, free: 4.562 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.257/3.257, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [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.00219/0.00219, allocations: 63.11 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3432, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002094/0.3452, allocations: 0.8735 MB / 1.355 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3471, allocations: 1.33 MB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.3472, allocations: 7.938 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.3473, allocations: 15.8 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.3474, allocations: 43.66 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.3481, allocations: 266.2 kB / 1.357 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.3485, allocations: 331.4 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3487, allocations: 41.66 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3489, allocations: 131.7 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.349, allocations: 103.6 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.3491, allocations: 28 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3492, allocations: 59.95 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.3493, allocations: 52.34 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3494, allocations: 123.5 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.3499, allocations: 346.7 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3499, allocations: 0 / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3499, allocations: 0 / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3499, allocations: 0 / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007356/0.3506, allocations: 488.7 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3506, allocations: 11.97 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003808/0.351, allocations: 64.75 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.3517, allocations: 230.3 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.3517, allocations: 16.38 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.3517, allocations: 16.38 kB / 1.359 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.352, allocations: 154.1 kB / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.352, allocations: 3.938 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.352, allocations: 4 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.352, allocations: 11.94 kB / 1.359 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3522, allocations: 67.91 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.353, allocations: 0.707 MB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3531, allocations: 65.17 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.3532, allocations: 25.77 kB / 1.36 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.3532, allocations: 3.938 kB / 1.36 GB, free: 2.223 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.3534, allocations: 109 kB / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3534, allocations: 3.938 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002948/0.3537, allocations: 129.6 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3538, allocations: 81.09 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.354, allocations: 207.8 kB / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3541, allocations: 33.7 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3542, allocations: 152.2 kB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3542, allocations: 19.84 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3543, allocations: 69.67 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3545, allocations: 322.8 kB / 1.361 GB, free: 1.039 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3546, allocations: 63.97 kB / 1.361 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.3549, allocations: 128.5 kB / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.3551, allocations: 198.2 kB / 1.361 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3551, allocations: 0 / 1.361 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005112/0.3556, allocations: 308.7 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.3557, allocations: 63.39 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3557, allocations: 0 / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3557, allocations: 4 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.3558, allocations: 15.94 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3558, allocations: 7.984 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.3561, allocations: 56.08 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3562, allocations: 11.98 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001876/0.3563, allocations: 149.8 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3564, allocations: 15.91 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.3564, allocations: 20.97 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3564, allocations: 4 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3564, allocations: 4 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3564, allocations: 0 / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.3567, allocations: 204.6 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3567, allocations: 3.938 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.3567, allocations: 4 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3567, allocations: 7.938 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3567, allocations: 4 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3567, allocations: 0 / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3567, allocations: 3.984 kB / 1.362 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.3569, allocations: 133.8 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.3569, allocations: 11.91 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.357, allocations: 8 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.045e-05/0.357, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.357, allocations: 11.92 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.357, allocations: 4 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001393/0.3572, allocations: 145.5 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3572, allocations: 7.938 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002875/0.3575, allocations: 51.88 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001494/0.3576, allocations: 99.25 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.358, allocations: 230.7 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.358, allocations: 0 / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.3581, allocations: 27.94 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.3584, allocations: 50.69 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.359, allocations: 339 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3593, allocations: 0.732 MB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.3594, allocations: 19.42 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3594, allocations: 0 / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of Templates: time 0.004805/0.3642, allocations: 2.498 MB / 1.366 GB, free: 11.2 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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: 11.827888514992082]