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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001416/0.001421, allocations: 120 kB / 16.42 MB, free: 6.496 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.00145/0.00145, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.604/1.604, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.003261/1.148, allocations: 0.8686 MB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002447/1.151, allocations: 1.295 MB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/1.151, allocations: 0 / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/1.151, allocations: 19.8 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/1.151, allocations: 31.66 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/1.152, allocations: 266.4 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006582/1.153, allocations: 343.3 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/1.153, allocations: 65.36 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/1.153, allocations: 131.7 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/1.154, allocations: 99.69 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/1.154, allocations: 28 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/1.154, allocations: 55.97 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/1.154, allocations: 47.84 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/1.154, allocations: 115.4 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/1.155, allocations: 358.5 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.155, allocations: 0 / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.317e-06/1.155, allocations: 0 / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.155, allocations: 0 / 1.212 GB, free: 9.945 MB / 0.9356 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.0009579/1.156, allocations: 0.547 MB / 1.213 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.156, allocations: 8.031 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.873e-05/1.156, allocations: 24.75 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/1.157, allocations: 303.9 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/1.157, allocations: 12.38 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/1.157, allocations: 20.38 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/1.157, allocations: 153.5 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.157, allocations: 3.938 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/1.157, allocations: 4 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.157, allocations: 4 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/1.157, allocations: 63.91 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/1.158, allocations: 0.7545 MB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/1.158, allocations: 69.17 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.509e-05/1.159, allocations: 29.75 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/1.159, allocations: 0 / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/1.159, allocations: 105.1 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/1.159, allocations: 3.938 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003379/1.159, allocations: 121.5 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/1.159, allocations: 85.05 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/1.159, allocations: 207.7 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/1.159, allocations: 33.7 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/1.16, allocations: 140.1 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/1.16, allocations: 15.75 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.16, allocations: 73.67 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.16, allocations: 326.8 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/1.16, allocations: 67.89 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/1.16, allocations: 134.7 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/1.161, allocations: 202.1 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.161, allocations: 3.938 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004954/1.161, allocations: 300.6 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/1.161, allocations: 59.41 kB / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.161, allocations: 4 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/1.161, allocations: 4 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/1.161, allocations: 15.98 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.161, allocations: 0 / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/1.162, allocations: 72.02 kB / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/1.162, allocations: 15.98 kB / 1.216 GB, free: 5.629 MB / 0.9356 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.0001735/1.162, allocations: 154.5 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/1.162, allocations: 15.81 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/1.162, allocations: 12.94 kB / 1.216 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.162, allocations: 3.984 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.162, allocations: 4 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/1.162, allocations: 88.92 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/1.162, allocations: 8 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/1.162, allocations: 0 / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/1.162, allocations: 11.92 kB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002462/1.162, allocations: 248.2 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002659/1.163, allocations: 341.9 kB / 1.217 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.575e-05/1.163, allocations: 36.48 kB / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001083/1.163, allocations: 141.5 kB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of Backend: time 4.21e-07/1.163, allocations: 0 / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007747/1.164, allocations: 333 kB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007587/1.164, allocations: 0.7556 MB / 1.218 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of Templates: time 0.006928/1.171, allocations: 2.596 MB / 1.22 GB, free: 0.8125 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) 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) Reference file matches