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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_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.0008788/0.0008788, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007113/0.007113, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 16 kB / 0.873 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.6176, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.0009817/0.6186, allocations: 0.5894 MB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.6205, allocations: 1.312 MB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.6206, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.994e-05/0.6207, allocations: 19.86 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.6208, allocations: 27.72 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.6215, allocations: 240.1 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.6219, allocations: 283.5 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.622, allocations: 57.45 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.6222, allocations: 107.7 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.6225, allocations: 107.6 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.6226, allocations: 12 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.6226, allocations: 19.98 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.6227, allocations: 35.8 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.6228, allocations: 117.2 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.6232, allocations: 317.2 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6232, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6232, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.6232, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 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.0005834/0.6238, allocations: 0.4903 MB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6238, allocations: 8.031 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.6239, allocations: 46.73 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.6239, allocations: 24.75 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.6246, allocations: 311.8 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6246, allocations: 16.36 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.6247, allocations: 20.38 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.6249, allocations: 146.8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6249, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.625, allocations: 12 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.625, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.6251, allocations: 75.83 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.6259, allocations: 0.7545 MB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.626, allocations: 57.16 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.626, allocations: 25.77 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.6261, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.6262, allocations: 97.08 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.6262, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002711/0.6265, allocations: 125.8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.6266, allocations: 81.11 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.6268, allocations: 211.7 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.6268, allocations: 37.64 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.6269, allocations: 139.8 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.627, allocations: 23.73 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.627, allocations: 29.7 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6271, allocations: 334.8 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.6273, allocations: 67.97 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.6275, allocations: 114.8 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.6277, allocations: 198.1 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6277, allocations: 0 / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004917/0.6282, allocations: 292.7 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.6283, allocations: 65.28 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6283, allocations: 4 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6283, allocations: 0 / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.6284, allocations: 16.11 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6284, allocations: 8 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.6287, allocations: 71.94 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.6288, allocations: 16 kB / 1.03 GB, free: 8.383 MB / 0.7794 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.000152/0.6289, allocations: 162.1 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.629, allocations: 15.81 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.629, allocations: 12.94 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.629, allocations: 0 / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.629, allocations: 0 / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.629, allocations: 11.98 kB / 1.03 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.6292, allocations: 233.5 kB / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6292, allocations: 3.938 kB / 1.03 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.6293, allocations: 4 kB / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6293, allocations: 0 / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.6293, allocations: 0 / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6293, allocations: 4 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6293, allocations: 0 / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.6295, allocations: 149.6 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.6295, allocations: 96.84 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6295, allocations: 0 / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.6296, allocations: 0 / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.6296, allocations: 7.984 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.6296, allocations: 12 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001119/0.6298, allocations: 140.2 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6298, allocations: 0 / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002664/0.63, allocations: 47.84 kB / 1.031 GB, free: 7.406 MB / 0.7794 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.0004893/0.6305, allocations: 0.6777 MB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.6309, allocations: 251 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6309, allocations: 4.062 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.631, allocations: 35.92 kB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.6313, allocations: 34.47 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.6337, allocations: 2.202 MB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.634, allocations: 0.7241 MB / 1.035 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.747e-05/0.6341, allocations: 25.91 kB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.6342, allocations: 51.42 kB / 1.035 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6342, allocations: 0 / 1.035 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.6485, allocations: 3.896 MB / 1.039 GB, free: 15.5 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.6488, allocations: 226.7 kB / 1.039 GB, free: 15.24 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.39, allocations: 0 / 1.039 GB, free: 15.24 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > 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