Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_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.01245/0.01245, allocations: 101.5 kB / 15.73 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.002211/0.002211, allocations: 195.8 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.53/2.53, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.162/4.162, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 64.41 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4332, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.004098/0.4373, allocations: 0.8723 MB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.4407, allocations: 1.289 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.4409, allocations: 3.938 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.4412, allocations: 23.8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.4414, allocations: 27.72 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.4428, allocations: 271.4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007995/0.4436, allocations: 343.4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.4439, allocations: 64.27 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.4443, allocations: 131.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.4446, allocations: 103.6 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.4447, allocations: 28 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.4449, allocations: 55.95 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.445, allocations: 51.78 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.4452, allocations: 111.5 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.4459, allocations: 355 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4459, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.531e-06/0.4459, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.4459, allocations: 3.938 kB / 1.091 GB, free: 14.26 MB / 0.8575 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.001115/0.4471, allocations: 0.5435 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.4471, allocations: 8.031 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/0.4472, allocations: 46.73 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.4473, allocations: 24.75 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4484, allocations: 307.6 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.4485, allocations: 16.38 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.4486, allocations: 20.12 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.449, allocations: 145 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.449, allocations: 3.938 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.4491, allocations: 7.984 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4491, allocations: 8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.4493, allocations: 67.91 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.4507, allocations: 0.7468 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4508, allocations: 61.2 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/0.4509, allocations: 25.77 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.451, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.4513, allocations: 104.9 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 5.52e-06/0.4513, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004967/0.4518, allocations: 129.3 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.4519, allocations: 85.09 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.4523, allocations: 211.7 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.4524, allocations: 29.7 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4526, allocations: 144.1 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.4526, allocations: 15.8 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.4528, allocations: 69.67 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.453, allocations: 330.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.4533, allocations: 63.95 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.4537, allocations: 143.2 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.4541, allocations: 194.2 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4541, allocations: 7.938 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009047/0.4551, allocations: 289.2 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/0.4552, allocations: 71.39 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4552, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.4552, allocations: 4 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4554, allocations: 15.92 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4554, allocations: 4 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/0.4561, allocations: 75.95 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.4562, allocations: 8 kB / 1.095 GB, free: 9.902 MB / 0.8575 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.0002945/0.4565, allocations: 154.4 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.4566, allocations: 19.75 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.619e-05/0.4567, allocations: 12.94 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4567, allocations: 4 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4567, allocations: 4 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4567, allocations: 3.984 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.4571, allocations: 229.5 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4571, allocations: 0 / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.4572, allocations: 7.984 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4572, allocations: 0 / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.4572, allocations: 4 kB / 1.095 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.4572, allocations: 0 / 1.095 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4572, allocations: 7.938 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.4576, allocations: 145.6 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.4577, allocations: 92.86 kB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.4577, allocations: 3.984 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.4578, allocations: 8 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.4579, allocations: 4 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4579, allocations: 3.984 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002056/0.4581, allocations: 153.4 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4581, allocations: 0 / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005489/0.4587, allocations: 44 kB / 1.096 GB, free: 8.926 MB / 0.8575 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.0008173/0.4595, allocations: 0.6795 MB / 1.096 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.4602, allocations: 254.9 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4602, allocations: 0 / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4604, allocations: 35.92 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.461, allocations: 40.05 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.4654, allocations: 2.169 MB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.4659, allocations: 0.7202 MB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.4661, allocations: 33.84 kB / 1.1 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4662, allocations: 55.42 kB / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of SimCode: time 3.356e-06/0.4662, allocations: 0 / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.5044, allocations: 4.37 MB / 1.104 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.42, allocations: 19.84 kB / 1.104 GB, free: 0.4922 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches