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.008561/0.008561, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001844/0.001844, 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8689/0.8702, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001907/0.8722, allocations: 0.8826 MB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.8738, allocations: 1.288 MB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.8739, allocations: 2.156 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.874, allocations: 19.58 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.8741, allocations: 28.58 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.8748, allocations: 263 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.8753, allocations: 350.6 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.8754, allocations: 63.3 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.8756, allocations: 129.5 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.8758, allocations: 107.6 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.8759, allocations: 29.44 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.876, allocations: 57.89 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.8761, allocations: 45.34 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.8762, allocations: 116.3 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.8766, allocations: 348.2 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8766, allocations: 0.6562 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8766, allocations: 0 / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8766, allocations: 4 kB / 1.091 GB, free: 3.043 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.0006631/0.8773, allocations: 0.5477 MB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8774, allocations: 10.06 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.8774, allocations: 41.2 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.8775, allocations: 23.67 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.8781, allocations: 306.2 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.8782, allocations: 17.08 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.8782, allocations: 24.33 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.8785, allocations: 151.8 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8785, allocations: 0.8438 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.8785, allocations: 6.234 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.8785, allocations: 3.094 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.8787, allocations: 63.88 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.8794, allocations: 0.7618 MB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/0.8795, allocations: 59.84 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.8795, allocations: 26.55 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.8796, allocations: 0.6562 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.8798, allocations: 97.17 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.8798, allocations: 0 / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002985/0.8801, allocations: 133.6 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.8802, allocations: 80.66 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.8804, allocations: 210.4 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.8804, allocations: 34.38 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.8805, allocations: 139.5 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.8805, allocations: 24.42 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.8806, allocations: 69.38 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.727e-05/0.8807, allocations: 331.5 kB / 1.094 GB, free: 464 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.8809, allocations: 69.97 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.8811, allocations: 129.2 kB / 1.094 GB, free: 328 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.8813, allocations: 194.2 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8813, allocations: 0 / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005318/0.8818, allocations: 298.8 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.8819, allocations: 67.55 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.8819, allocations: 2.516 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.8819, allocations: 2.688 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.882, allocations: 9.391 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.882, allocations: 3.219 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.8825, allocations: 68.3 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.8825, allocations: 21.92 kB / 1.095 GB, free: 15.89 MB / 0.8731 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.0001622/0.8827, allocations: 158.7 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.8827, allocations: 15.52 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.8828, allocations: 15.75 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8828, allocations: 1.406 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8828, allocations: 0.6875 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8828, allocations: 1.391 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.8831, allocations: 237.3 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8831, allocations: 4.688 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.8831, allocations: 5.109 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8831, allocations: 0.9375 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.8831, allocations: 2.266 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8831, allocations: 2 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8831, allocations: 1.125 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.8833, allocations: 136.6 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.8834, allocations: 94.16 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.8834, allocations: 3.031 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.8835, allocations: 1.734 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.8835, allocations: 10.08 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.8835, allocations: 3.281 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000137/0.8837, allocations: 145.7 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8837, allocations: 0 / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003062/0.884, allocations: 45.81 kB / 1.096 GB, free: 15.2 MB / 0.8731 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.0005757/0.8846, allocations: 0.6769 MB / 1.096 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.885, allocations: 265.9 kB / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.885, allocations: 384 / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.717e-05/0.8851, allocations: 37.78 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.8854, allocations: 42.09 kB / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.8883, allocations: 2.169 MB / 1.099 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.8887, allocations: 0.7236 MB / 1.1 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.8888, allocations: 24.84 kB / 1.1 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.8889, allocations: 52.53 kB / 1.1 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/0.8889, allocations: 0 / 1.1 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.916, allocations: 4.455 MB / 1.104 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.971, allocations: 11.92 kB / 1.104 GB, free: 11.34 MB / 0.8731 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