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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.00474/0.00474, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.001294/0.001294, allocations: 196.4 kB / 16.68 MB, free: 5.871 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 482.4 MB / 0.7548 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 64.67 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 162.2 MB / 1.241 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002151/0.3333, allocations: 0.8711 MB / 1.242 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3352, allocations: 1.285 MB / 1.244 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.3353, allocations: 4 kB / 1.244 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.3355, allocations: 15.81 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.596e-05/0.3356, allocations: 31.66 kB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.3364, allocations: 270 kB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.3369, allocations: 343.4 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.337, allocations: 69.66 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3372, allocations: 127.7 kB / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3375, allocations: 111.6 kB / 1.244 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-05/0.3375, allocations: 32 kB / 1.245 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3377, allocations: 43.98 kB / 1.245 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.3378, allocations: 47.84 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3379, allocations: 127.4 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.3384, allocations: 342.8 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.3384, allocations: 4 kB / 1.245 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3384, allocations: 7.938 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.3384, allocations: 4 kB / 1.245 GB, free: 5.547 MB / 0.9669 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.0008127/0.3393, allocations: 0.5504 MB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3393, allocations: 12.03 kB / 1.246 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.3394, allocations: 46.73 kB / 1.246 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.3394, allocations: 24.8 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007025/0.3402, allocations: 296.2 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3402, allocations: 16.31 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.3402, allocations: 24.36 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.3405, allocations: 148.8 kB / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3405, allocations: 0 / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3406, allocations: 8 kB / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.3406, allocations: 0 / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3407, allocations: 67.89 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.3416, allocations: 0.7586 MB / 1.247 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3418, allocations: 61.23 kB / 1.247 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.3418, allocations: 21.78 kB / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.3418, allocations: 0 / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.342, allocations: 105 kB / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3421, allocations: 4 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0003178/0.3424, allocations: 129.5 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.3425, allocations: 81.09 kB / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.3427, allocations: 215.7 kB / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.3428, allocations: 33.7 kB / 1.248 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3429, allocations: 144.2 kB / 1.248 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.3429, allocations: 15.91 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3431, allocations: 65.67 kB / 1.248 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3432, allocations: 342.7 kB / 1.248 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3434, allocations: 59.97 kB / 1.248 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.3436, allocations: 128.5 kB / 1.248 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.3439, allocations: 198.2 kB / 1.248 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3439, allocations: 0 / 1.248 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005517/0.3445, allocations: 300.7 kB / 1.249 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/0.3446, allocations: 67.39 kB / 1.249 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3446, allocations: 4 kB / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3446, allocations: 0 / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.3447, allocations: 8 kB / 1.249 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.3447, allocations: 7.938 kB / 1.249 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.3451, allocations: 79.94 kB / 1.249 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.3452, allocations: 15.98 kB / 1.249 GB, free: 1.168 MB / 0.9669 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.0001746/0.3454, allocations: 146.3 kB / 1.249 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3454, allocations: 11.91 kB / 1.249 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.3454, allocations: 16.92 kB / 1.249 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3455, allocations: 4.469 kB / 1.249 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3455, allocations: 0 / 1.249 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3455, allocations: 4 kB / 1.249 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.3457, allocations: 237.5 kB / 1.249 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3457, allocations: 0 / 1.249 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.3458, allocations: 7.938 kB / 1.249 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.3458, allocations: 7.984 kB / 1.249 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3458, allocations: 0 / 1.249 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3458, allocations: 0 / 1.249 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.3458, allocations: 7.984 kB / 1.249 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.346, allocations: 141.8 kB / 1.25 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.3461, allocations: 89.02 kB / 1.25 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3461, allocations: 4 kB / 1.25 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.004e-05/0.3462, allocations: 0 / 1.25 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.3462, allocations: 11.98 kB / 1.25 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3462, allocations: 4 kB / 1.25 GB, free: 400 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000139/0.3464, allocations: 149.4 kB / 1.25 GB, free: 252 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3464, allocations: 0 / 1.25 GB, free: 252 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003026/0.3467, allocations: 51.88 kB / 1.25 GB, free: 200 kB / 0.9669 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.0006271/0.3473, allocations: 0.6834 MB / 1.25 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.3477, allocations: 258.6 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3478, allocations: 384 / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.3478, allocations: 35.98 kB / 1.251 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3482, allocations: 33.8 kB / 1.251 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.351, allocations: 2.186 MB / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3514, allocations: 0.7241 MB / 1.254 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.048e-05/0.3515, allocations: 21.55 kB / 1.254 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.3516, allocations: 59.41 kB / 1.254 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3516, allocations: 0 / 1.254 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.379, allocations: 4.378 MB / 1.258 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.404, allocations: 3.984 kB / 1.258 GB, free: 7.777 MB / 0.9825 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 400 --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