Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 110.1 kB / 16.42 MB, free: 5.973 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.002225/0.002225, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.947/0.9486, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002098/0.9507, allocations: 0.864 MB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.9526, allocations: 1.291 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.9526, allocations: 9.594 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.9528, allocations: 15.28 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.9529, allocations: 33.48 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.9537, allocations: 262.3 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.9542, allocations: 349.3 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.9544, allocations: 61.8 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.9546, allocations: 129.4 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.9549, allocations: 116.5 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.955, allocations: 29.44 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.9552, allocations: 49.17 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.9554, allocations: 45.94 kB / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.9556, allocations: 123.4 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.9563, allocations: 348 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9564, allocations: 1.031 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9564, allocations: 4 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.9564, allocations: 0 / 1.092 GB, free: 3.285 MB / 0.8575 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.0009345/0.9573, allocations: 0.5387 MB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.9574, allocations: 8.344 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.9575, allocations: 26.75 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.9583, allocations: 302.7 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.9583, allocations: 17.34 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.9584, allocations: 19.69 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.9587, allocations: 158.2 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9587, allocations: 5.109 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.9587, allocations: 6.062 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.9587, allocations: 3.344 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.9589, allocations: 63.61 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.9597, allocations: 0.7549 MB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.9599, allocations: 62.41 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.9599, allocations: 27.56 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.9599, allocations: 0.875 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.9601, allocations: 96.66 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.9601, allocations: 0 / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003564/0.9605, allocations: 130 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.9605, allocations: 83.84 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.9608, allocations: 213.4 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.9608, allocations: 31.64 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.9609, allocations: 138.9 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.961, allocations: 24.78 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.9611, allocations: 72.72 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.9612, allocations: 331.8 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.9614, allocations: 66 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.9616, allocations: 126.4 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.9618, allocations: 192.7 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9618, allocations: 0.75 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005213/0.9623, allocations: 307.4 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.9624, allocations: 65.17 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9624, allocations: 3.172 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.9625, allocations: 2.5 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.9625, allocations: 9.625 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.9626, allocations: 2.875 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.963, allocations: 67.97 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.963, allocations: 21.56 kB / 1.096 GB, free: 196 kB / 0.8575 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.0001472/0.9632, allocations: 155.1 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.9632, allocations: 14.75 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.9633, allocations: 24.27 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9633, allocations: 0.8438 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9633, allocations: 1.172 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.9634, allocations: 86.56 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.9634, allocations: 5.984 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.9635, allocations: 5.953 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.9635, allocations: 10.05 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002515/0.9638, allocations: 243.8 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002975/0.9641, allocations: 349.6 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.262e-05/0.9641, allocations: 38.81 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001804/0.9643, allocations: 145 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of Backend: time 3.21e-07/0.9643, allocations: 0.625 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008567/0.9652, allocations: 322.7 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009512/0.9662, allocations: 0.7558 MB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.008058/0.9742, allocations: 2.608 MB / 1.101 GB, free: 14.14 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches