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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.799/2.799, allocations: 437 MB / 0.7101 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 59.91 kB / 0.8688 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9431/0.9454, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002459/0.9479, allocations: 1.07 MB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.9501, allocations: 1.335 MB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.9503, allocations: 7.938 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.9504, allocations: 7.875 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.9506, allocations: 27.78 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.9515, allocations: 251.1 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.952, allocations: 399.3 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.9522, allocations: 65.66 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.9525, allocations: 163.6 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.9529, allocations: 151.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.117e-05/0.953, allocations: 36 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.9531, allocations: 47.98 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.9532, allocations: 51.84 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.9534, allocations: 135.4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.9538, allocations: 380.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.9539, allocations: 7.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9539, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.9539, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 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.001126/0.955, allocations: 0.5992 MB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.9551, allocations: 8.031 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.9552, allocations: 28.66 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.9562, allocations: 378.7 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.9562, allocations: 16.36 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.9563, allocations: 28.31 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.9568, allocations: 198.4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.9568, allocations: 3.938 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.9569, allocations: 7.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.9569, allocations: 7.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.9574, allocations: 143.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.9587, allocations: 0.907 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.959, allocations: 153 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.9593, allocations: 80.3 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.9593, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.9597, allocations: 163.5 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.9598, allocations: 4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0009156/0.9607, allocations: 253.5 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9608, allocations: 162.2 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.9611, allocations: 228.9 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.9611, allocations: 29.7 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.9613, allocations: 156.2 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.9613, allocations: 27.64 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.9614, allocations: 49.69 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.9616, allocations: 334.8 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.962, allocations: 107.9 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.9624, allocations: 159.6 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.963, allocations: 274.9 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/0.963, allocations: 4 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009222/0.964, allocations: 372.4 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.9641, allocations: 67.39 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9641, allocations: 4 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.9641, allocations: 4 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.9643, allocations: 32.12 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9643, allocations: 4 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.9647, allocations: 63.86 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.9648, allocations: 19.98 kB / 1.026 GB, free: 9.23 MB / 0.7794 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.000195/0.965, allocations: 155 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.965, allocations: 27.64 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.9651, allocations: 21.25 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9651, allocations: 0 / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.9651, allocations: 4 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9651, allocations: 3.984 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.9654, allocations: 249.5 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9654, allocations: 4 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.9656, allocations: 27.91 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9656, allocations: 4.469 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.9656, allocations: 8 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.9656, allocations: 3.984 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9656, allocations: 7.938 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.9662, allocations: 240.1 kB / 1.026 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.9663, allocations: 96.84 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.9664, allocations: 8 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.9665, allocations: 15.97 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.9666, allocations: 23.92 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.9666, allocations: 7.938 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001658/0.9667, allocations: 168.4 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9668, allocations: 0 / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003169/0.9671, allocations: 47.91 kB / 1.027 GB, free: 8.023 MB / 0.7794 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.0001979/0.9673, allocations: 111.7 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008024/0.9681, allocations: 338.5 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9681, allocations: 0 / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.9684, allocations: 84.36 kB / 1.027 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.9688, allocations: 36.41 kB / 1.027 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.9696, allocations: 455.9 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.9701, allocations: 0.7476 MB / 1.028 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000146/0.9703, allocations: 33.52 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.9703, allocations: 23.44 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of SimCode: time 6.71e-07/0.9703, allocations: 0 / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of Templates: time 0.008094/0.9784, allocations: 2.869 MB / 1.031 GB, free: 3.285 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (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) 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) Reference file matches