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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005832/0.005832, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002031/0.002031, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.38/1.38, allocations: 222.9 MB / 240.4 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.504/2.504, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8359/0.8372, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002307/0.8396, allocations: 0.8779 MB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.8416, allocations: 1.299 MB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.8417, allocations: 0 / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.8419, allocations: 15.81 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.8421, allocations: 35.7 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.8431, allocations: 262.3 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005414/0.8436, allocations: 339.4 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.8438, allocations: 67.67 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.8441, allocations: 131.7 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.8443, allocations: 103.6 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.8444, allocations: 28 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.8446, allocations: 51.98 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.8447, allocations: 51.84 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.8449, allocations: 119.4 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.8453, allocations: 343 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8454, allocations: 3.938 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.407e-06/0.8454, allocations: 7.922 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.8454, allocations: 0 / 1.211 GB, free: 9.828 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.0008348/0.8462, allocations: 0.5372 MB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8463, allocations: 12.02 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.8463, allocations: 42.69 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.8464, allocations: 24.75 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.8471, allocations: 303.9 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.8471, allocations: 20.36 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.8472, allocations: 16.38 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.8474, allocations: 157.2 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8475, allocations: 4 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8475, allocations: 4 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.8475, allocations: 4 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.8476, allocations: 71.89 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.8486, allocations: 0.7583 MB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.8487, allocations: 57.23 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.8488, allocations: 25.78 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.8488, allocations: 0 / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.8491, allocations: 101 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.8491, allocations: 3.938 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003399/0.8494, allocations: 129.4 kB / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.8495, allocations: 81.11 kB / 1.213 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.8497, allocations: 211.7 kB / 1.213 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.8497, allocations: 33.7 kB / 1.213 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.8498, allocations: 140.2 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.8499, allocations: 23.72 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.85, allocations: 69.67 kB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8501, allocations: 326.8 kB / 1.214 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.8503, allocations: 67.97 kB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.8504, allocations: 128.5 kB / 1.214 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.8507, allocations: 198.2 kB / 1.214 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8507, allocations: 0 / 1.214 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004731/0.8512, allocations: 296.6 kB / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.8512, allocations: 63.39 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.8512, allocations: 0 / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.8513, allocations: 4 kB / 1.215 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.8514, allocations: 8 kB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.8514, allocations: 8.125 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.8518, allocations: 79.77 kB / 1.215 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.8519, allocations: 15.98 kB / 1.215 GB, free: 5.461 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.0001631/0.852, allocations: 150.6 kB / 1.215 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.8521, allocations: 15.81 kB / 1.215 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.8521, allocations: 20.92 kB / 1.215 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8521, allocations: 4 kB / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8521, allocations: 0 / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.8522, allocations: 480 / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.8524, allocations: 237.5 kB / 1.215 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8524, allocations: 0 / 1.215 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.8524, allocations: 4 kB / 1.215 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.8524, allocations: 0 / 1.215 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.8524, allocations: 7.984 kB / 1.215 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8524, allocations: 7.875 kB / 1.215 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8525, allocations: 0 / 1.215 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.8526, allocations: 141.7 kB / 1.215 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.8527, allocations: 88.92 kB / 1.215 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.8527, allocations: 0 / 1.215 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.8528, allocations: 4 kB / 1.215 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.8528, allocations: 11.98 kB / 1.215 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.8528, allocations: 0 / 1.215 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001167/0.8529, allocations: 145.5 kB / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.853, allocations: 0 / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002773/0.8532, allocations: 55.83 kB / 1.216 GB, free: 4.484 MB / 0.9356 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.0005572/0.8538, allocations: 0.6772 MB / 1.216 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.8542, allocations: 270.6 kB / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8542, allocations: 0 / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.8543, allocations: 31.98 kB / 1.217 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.8546, allocations: 28.3 kB / 1.217 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.8569, allocations: 2.179 MB / 1.219 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.8572, allocations: 0.7241 MB / 1.219 GB, free: 372 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.945e-05/0.8573, allocations: 25.53 kB / 1.219 GB, free: 348 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.8574, allocations: 51.42 kB / 1.219 GB, free: 296 kB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.8574, allocations: 3.938 kB / 1.22 GB, free: 292 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.8801, allocations: 4.463 MB / 1.224 GB, free: 12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.836, allocations: 13.97 kB / 1.224 GB, free: 11.99 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > 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