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.001665/0.001665, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001882, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.846/2.846, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 68.03 kB / 0.9083 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3626, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002485/0.3651, allocations: 0.8728 MB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.367, allocations: 1.297 MB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.3671, allocations: 3.938 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.3673, allocations: 15.81 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.397e-05/0.3674, allocations: 31.72 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.3682, allocations: 261.2 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.3686, allocations: 339.4 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3688, allocations: 57.45 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.369, allocations: 131.7 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.3693, allocations: 119.6 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.718e-05/0.3694, allocations: 32 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3695, allocations: 39.98 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.3696, allocations: 43.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.3698, allocations: 123.5 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.3702, allocations: 323.3 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3702, allocations: 3.984 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3702, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3702, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 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.0007771/0.371, allocations: 0.541 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3711, allocations: 8.031 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.3711, allocations: 46.73 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.3712, allocations: 24.75 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.3719, allocations: 300 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.372, allocations: 12.38 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.372, allocations: 20.38 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.3723, allocations: 149.3 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3723, allocations: 4 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3723, allocations: 12 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3723, allocations: 7.938 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3725, allocations: 59.91 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.3734, allocations: 0.7546 MB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3735, allocations: 61.08 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.3736, allocations: 29.77 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3736, allocations: 4 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.3739, allocations: 96.98 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.585e-06/0.3739, allocations: 4 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000362/0.3743, allocations: 121.8 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.3743, allocations: 85.09 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3746, allocations: 215.6 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.3747, allocations: 29.7 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3748, allocations: 143.8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3749, allocations: 15.8 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.375, allocations: 69.61 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3751, allocations: 330.8 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3753, allocations: 59.97 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3755, allocations: 118.8 kB / 1.07 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.3758, allocations: 198.1 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3758, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005451/0.3763, allocations: 292.7 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.3764, allocations: 67.39 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3764, allocations: 4 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3764, allocations: 4.281 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.3765, allocations: 11.94 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.3765, allocations: 4 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.3769, allocations: 63.77 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.3769, allocations: 19.98 kB / 1.071 GB, free: 6.516 MB / 0.8262 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.0001648/0.3771, allocations: 151.5 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3771, allocations: 11.81 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.3772, allocations: 24.92 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3772, allocations: 0 / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3772, allocations: 3.938 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3772, allocations: 0 / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3774, allocations: 229.5 kB / 1.071 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3774, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.3775, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3775, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3775, allocations: 4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3775, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3775, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3777, allocations: 137.6 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.3778, allocations: 92.92 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.3778, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.943e-05/0.3778, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3779, allocations: 15.92 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3779, allocations: 4 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001228/0.378, allocations: 145.5 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/0.378, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002765/0.3783, allocations: 39.94 kB / 1.072 GB, free: 5.562 MB / 0.8262 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.0004955/0.3788, allocations: 0.6824 MB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3792, allocations: 258.7 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3792, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.3793, allocations: 31.94 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3796, allocations: 39.14 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.3824, allocations: 2.17 MB / 1.075 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3828, allocations: 0.728 MB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.746e-05/0.3829, allocations: 21.91 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.383, allocations: 51.42 kB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.383, allocations: 0 / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.4079, allocations: 4.188 MB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.113, allocations: 8.391 kB / 1.08 GB, free: 13.33 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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