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.001167/0.001167, allocations: 107 kB / 16.41 MB, free: 6.504 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.001126/0.001126, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.501/1.501, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.898/2.898, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.84 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.029, allocations: 159.1 MB / 1.221 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002721/1.032, allocations: 0.873 MB / 1.222 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002579/1.035, allocations: 1.287 MB / 1.223 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/1.035, allocations: 0 / 1.223 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/1.035, allocations: 19.8 kB / 1.223 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/1.035, allocations: 39.66 kB / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/1.036, allocations: 266.4 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006712/1.037, allocations: 347.3 kB / 1.224 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/1.037, allocations: 53.44 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/1.038, allocations: 135.7 kB / 1.224 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/1.038, allocations: 107.6 kB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/1.038, allocations: 32 kB / 1.224 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/1.038, allocations: 51.92 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/1.038, allocations: 43.84 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/1.038, allocations: 119.5 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/1.039, allocations: 358.5 kB / 1.225 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.039, allocations: 0 / 1.225 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.665e-06/1.039, allocations: 0 / 1.225 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.26e-05/1.039, allocations: 0 / 1.225 GB, free: 14.71 MB / 0.9512 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.001539/1.041, allocations: 0.5392 MB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 8.029e-05/1.041, allocations: 12.62 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/1.041, allocations: 20.75 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/1.042, allocations: 311.8 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/1.042, allocations: 16.36 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/1.042, allocations: 20.38 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/1.042, allocations: 141.6 kB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.042, allocations: 11.81 kB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/1.043, allocations: 4 kB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.043, allocations: 4 kB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/1.043, allocations: 71.89 kB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/1.044, allocations: 0.7477 MB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/1.044, allocations: 61.14 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/1.044, allocations: 21.78 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/1.044, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/1.044, allocations: 109 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 4.248e-06/1.044, allocations: 7.984 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004028/1.045, allocations: 125.4 kB / 1.227 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/1.045, allocations: 81.09 kB / 1.227 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/1.045, allocations: 215.7 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/1.045, allocations: 33.64 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/1.045, allocations: 140.2 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/1.045, allocations: 23.73 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.046, allocations: 65.67 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.046, allocations: 330.8 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/1.046, allocations: 63.97 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/1.046, allocations: 130.7 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/1.046, allocations: 190.2 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.046, allocations: 3.938 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000571/1.047, allocations: 300.6 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.047, allocations: 67.39 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.047, allocations: 4 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.047, allocations: 0 / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/1.047, allocations: 11.94 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.047, allocations: 4 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/1.048, allocations: 72.02 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/1.048, allocations: 15.98 kB / 1.228 GB, free: 10.4 MB / 0.9512 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.0001945/1.048, allocations: 146.2 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/1.048, allocations: 15.81 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/1.048, allocations: 20.92 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.048, allocations: 4 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.048, allocations: 11.94 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/1.048, allocations: 88.92 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/1.048, allocations: 3.984 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/1.048, allocations: 4 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/1.048, allocations: 7.938 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002769/1.049, allocations: 256.1 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003051/1.049, allocations: 349.9 kB / 1.229 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.043e-05/1.049, allocations: 28.55 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001482/1.049, allocations: 145.5 kB / 1.229 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of Backend: time 9.32e-07/1.049, allocations: 0 / 1.229 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008809/1.05, allocations: 325 kB / 1.23 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001358/1.051, allocations: 0.7637 MB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of Templates: time 0.007494/1.059, allocations: 2.606 MB / 1.233 GB, free: 5.562 MB / 0.9512 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