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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005919/0.005918, allocations: 101.3 kB / 15.73 MB, free: 6.016 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.001319/0.001319, allocations: 193.9 kB / 16.68 MB, free: 5.934 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.753/2.753, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3744, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002127/0.3766, allocations: 0.8687 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3784, allocations: 1.287 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.3785, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.3786, allocations: 15.8 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3788, allocations: 39.66 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.3795, allocations: 261.9 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.38, allocations: 343.4 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.3802, allocations: 57.42 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.3804, allocations: 131.7 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.3806, allocations: 111.6 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.3807, allocations: 28 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3808, allocations: 59.92 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.3809, allocations: 43.84 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.381, allocations: 119.4 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.3814, allocations: 346.8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3814, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3814, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.3815, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 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.0009145/0.3824, allocations: 0.5486 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3824, allocations: 11.97 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.3825, allocations: 50.73 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.388e-05/0.3826, allocations: 28.8 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.3833, allocations: 300 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.3834, allocations: 16.38 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.3834, allocations: 20.38 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3837, allocations: 162.1 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3837, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3837, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3837, allocations: 4 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3838, allocations: 63.91 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.3847, allocations: 0.7624 MB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.808e-05/0.3848, allocations: 61.25 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.3849, allocations: 29.77 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.3849, allocations: 0 / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.3851, allocations: 105 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3852, allocations: 4 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003105/0.3855, allocations: 129.5 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.3855, allocations: 85.11 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3857, allocations: 211.7 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.3858, allocations: 29.7 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3859, allocations: 148.2 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.3859, allocations: 15.91 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.3861, allocations: 65.67 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.3863, allocations: 338.8 kB / 1.226 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3865, allocations: 63.97 kB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.3867, allocations: 124.5 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.387, allocations: 194.2 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.387, allocations: 4 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004968/0.3875, allocations: 300.8 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/0.3876, allocations: 72.91 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3876, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3876, allocations: 4 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.3877, allocations: 11.98 kB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3877, allocations: 3.938 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.3882, allocations: 79.97 kB / 1.227 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3882, allocations: 15.98 kB / 1.227 GB, free: 6.527 MB / 0.9825 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.0001583/0.3884, allocations: 142.3 kB / 1.227 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3884, allocations: 15.91 kB / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.3884, allocations: 20.92 kB / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3884, allocations: 0 / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3885, allocations: 4 kB / 1.227 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3885, allocations: 0 / 1.227 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.3887, allocations: 237.5 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3887, allocations: 0 / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.3887, allocations: 7.938 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3887, allocations: 0 / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3887, allocations: 8 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3887, allocations: 0 / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3888, allocations: 0 / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3889, allocations: 133.8 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.389, allocations: 96.95 kB / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.389, allocations: 4 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.3891, allocations: 4 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.3891, allocations: 3.984 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.3891, allocations: 4 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000113/0.3892, allocations: 149.5 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3892, allocations: 0 / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002782/0.3895, allocations: 47.89 kB / 1.228 GB, free: 5.57 MB / 0.9825 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.0005369/0.39, allocations: 0.6834 MB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.3904, allocations: 262.6 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3904, allocations: 384 / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.3905, allocations: 28.66 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3909, allocations: 47.95 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.3939, allocations: 2.175 MB / 1.231 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.3944, allocations: 0.7358 MB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.882e-05/0.3945, allocations: 21.55 kB / 1.232 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.3946, allocations: 55.41 kB / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3946, allocations: 0 / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.416, allocations: 4.387 MB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.371, allocations: 2.062 kB / 1.236 GB, free: 13.14 MB / 0.9981 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