Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001306/0.001306, allocations: 114.5 kB / 16.42 MB, free: 6.492 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.001338/0.001338, allocations: 187.8 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.533/2.533, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 71.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9308/0.9323, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00321/0.9356, allocations: 0.8861 MB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.9381, allocations: 1.284 MB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.9383, allocations: 11.94 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.9385, allocations: 19.8 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.9387, allocations: 27.8 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.9399, allocations: 273.2 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.9405, allocations: 347.2 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.9408, allocations: 61.45 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.9411, allocations: 123.7 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.9415, allocations: 107.6 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.9416, allocations: 28 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.9419, allocations: 55.98 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.942, allocations: 47.84 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.9422, allocations: 119.4 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.9428, allocations: 350.4 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9429, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9429, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.9429, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 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.0009564/0.9438, allocations: 0.5509 MB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.9439, allocations: 8.922 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.944, allocations: 28.75 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.9448, allocations: 301.5 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.9448, allocations: 12.38 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.9449, allocations: 24.36 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.9452, allocations: 147.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.9452, allocations: 7.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.9452, allocations: 4 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.9452, allocations: 4 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.9454, allocations: 67.89 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.9463, allocations: 0.7507 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.9465, allocations: 65.08 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.9465, allocations: 21.78 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.9465, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.9468, allocations: 105.1 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.9468, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003384/0.9471, allocations: 125.4 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.9472, allocations: 81.11 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.9474, allocations: 211.7 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.9475, allocations: 37.64 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.9476, allocations: 140.2 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.9477, allocations: 19.75 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.9478, allocations: 65.67 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9479, allocations: 330.8 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.9481, allocations: 59.97 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.9483, allocations: 136.5 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.9486, allocations: 194.2 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.9486, allocations: 3.938 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000528/0.9492, allocations: 300.6 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.9492, allocations: 71.39 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.9492, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.9493, allocations: 4 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.9494, allocations: 11.94 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.9494, allocations: 192 / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.9498, allocations: 71.83 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.9499, allocations: 15.98 kB / 1.175 GB, free: 11.8 MB / 0.9044 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.0001683/0.95, allocations: 153.6 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.9501, allocations: 15.81 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.9501, allocations: 20.92 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9501, allocations: 480 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9501, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.9502, allocations: 92.92 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.9502, allocations: 4 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.9503, allocations: 3.984 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.9503, allocations: 11.92 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002064/0.9505, allocations: 252.1 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002492/0.9508, allocations: 353.9 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.491e-05/0.9508, allocations: 27.92 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001137/0.951, allocations: 144.2 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/0.951, allocations: 0 / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007604/0.9517, allocations: 321.2 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008801/0.9526, allocations: 0.7553 MB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of Templates: time 0.007105/0.9597, allocations: 2.604 MB / 1.179 GB, free: 6.984 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches