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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001311/0.001311, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.00131/0.00131, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 482.4 MB / 0.755 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.92 kB / 0.924 GB, free: 320 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8913, allocations: 162.2 MB / 1.082 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002252/0.8936, allocations: 0.9244 MB / 1.083 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.8953, allocations: 1.29 MB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.8954, allocations: 1.125 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.8955, allocations: 15.39 kB / 1.085 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.8956, allocations: 18.83 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.8964, allocations: 246.6 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.8968, allocations: 344.7 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.897, allocations: 57.52 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.8972, allocations: 135.2 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.8975, allocations: 126.4 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.8976, allocations: 29.69 kB / 1.086 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.8977, allocations: 42.75 kB / 1.086 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.8978, allocations: 41.52 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.8979, allocations: 118.6 kB / 1.086 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.8983, allocations: 249.6 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8983, allocations: 4.609 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.827e-06/0.8983, allocations: 0 / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.8983, allocations: 5.062 kB / 1.086 GB, free: 15.46 MB / 0.8419 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.0007823/0.8991, allocations: 0.5415 MB / 1.086 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8992, allocations: 9.531 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.8992, allocations: 22.75 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.8999, allocations: 298 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.9, allocations: 13.62 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.9, allocations: 18.94 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.9003, allocations: 152.8 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.9003, allocations: 4.688 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.9004, allocations: 2.438 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9004, allocations: 2.438 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.9005, allocations: 68.14 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.9014, allocations: 0.7571 MB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.9016, allocations: 61.95 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.9016, allocations: 22.45 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.9016, allocations: 2.031 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.9018, allocations: 104.3 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.9018, allocations: 1.156 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0003181/0.9022, allocations: 125.2 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.9022, allocations: 79.89 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.9025, allocations: 213.8 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.9025, allocations: 30.12 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.9027, allocations: 148 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.9027, allocations: 18.81 kB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.9028, allocations: 65.5 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.903, allocations: 328.7 kB / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.9032, allocations: 65.64 kB / 1.089 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.9034, allocations: 117.4 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.9036, allocations: 204.4 kB / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.9036, allocations: 0.8438 kB / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005389/0.9042, allocations: 297.1 kB / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.9042, allocations: 60.78 kB / 1.09 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9043, allocations: 2.312 kB / 1.09 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.9043, allocations: 2.5 kB / 1.09 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.9044, allocations: 11.64 kB / 1.09 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.9044, allocations: 1.594 kB / 1.09 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.9048, allocations: 60.62 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.9048, allocations: 13.34 kB / 1.09 GB, free: 12.39 MB / 0.8419 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.0001992/0.905, allocations: 154.6 kB / 1.09 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.9051, allocations: 16 kB / 1.09 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.9051, allocations: 19.94 kB / 1.09 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.9051, allocations: 2.219 kB / 1.09 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9051, allocations: 0 / 1.09 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9052, allocations: 1.719 kB / 1.09 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.9055, allocations: 237.5 kB / 1.09 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9055, allocations: 0 / 1.09 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.9055, allocations: 4.75 kB / 1.09 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9055, allocations: 1.156 kB / 1.09 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.9055, allocations: 4.047 kB / 1.09 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.9055, allocations: 0 / 1.09 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9055, allocations: 4.625 kB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.9058, allocations: 143.1 kB / 1.09 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.9059, allocations: 89.33 kB / 1.09 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.9059, allocations: 2.125 kB / 1.09 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.9059, allocations: 10.12 kB / 1.09 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.906, allocations: 5.328 kB / 1.09 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.906, allocations: 3.797 kB / 1.09 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001563/0.9062, allocations: 153.5 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9062, allocations: 1.25 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002913/0.9065, allocations: 43.06 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001887/0.9067, allocations: 114.9 kB / 1.091 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.9071, allocations: 252.2 kB / 1.091 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9071, allocations: 1.188 kB / 1.091 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.9072, allocations: 43.33 kB / 1.091 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.9076, allocations: 41.83 kB / 1.091 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.9082, allocations: 384.9 kB / 1.091 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.9086, allocations: 0.7283 MB / 1.092 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.9087, allocations: 20.19 kB / 1.092 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.9087, allocations: 0 / 1.092 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.005734/0.9144, allocations: 2.476 MB / 1.095 GB, free: 10.12 MB / 0.8419 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=400 -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