Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.IntegerExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",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.007141/0.00714, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001298/0.001298, allocations: 189 kB / 16.68 MB, free: 6.367 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3387, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00249/0.3412, allocations: 1.152 MB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3432, allocations: 1.51 MB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3433, allocations: 4 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3435, allocations: 27.61 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3436, allocations: 67.44 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3447, allocations: 0.4937 MB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.3453, allocations: 0.6128 MB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.3456, allocations: 152.7 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.3458, allocations: 227.4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.3461, allocations: 223.2 kB / 1.171 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.3462, allocations: 60 kB / 1.171 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.3464, allocations: 71.98 kB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.3465, allocations: 79.69 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.3467, allocations: 227.1 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.3473, allocations: 0.6267 MB / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3473, allocations: 0 / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3473, allocations: 0 / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3473, allocations: 0 / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009428/0.3483, allocations: 0.7546 MB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3483, allocations: 16.03 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.3484, allocations: 54.73 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.999e-05/0.3485, allocations: 48.69 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.3494, allocations: 400.2 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.3495, allocations: 28.8 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.3496, allocations: 32.38 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.35, allocations: 259.5 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.35, allocations: 0 / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.35, allocations: 8 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.35, allocations: 8 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3503, allocations: 161.6 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.3518, allocations: 0.8531 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.3521, allocations: 222.7 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3524, allocations: 206.6 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.3524, allocations: 0 / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.3528, allocations: 256.5 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.3529, allocations: 0 / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0007188/0.3536, allocations: 435 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.3537, allocations: 118.7 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.354, allocations: 324.3 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.3541, allocations: 45.7 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3542, allocations: 188.7 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.3543, allocations: 59.59 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.3545, allocations: 146 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3547, allocations: 342.8 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.3551, allocations: 208.7 kB / 1.177 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.3555, allocations: 325 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.3562, allocations: 0.5272 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3562, allocations: 0 / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001119/0.3573, allocations: 0.7404 MB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.3575, allocations: 123.2 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3575, allocations: 8 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3575, allocations: 7.984 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.3577, allocations: 63.8 kB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3577, allocations: 7.984 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.3584, allocations: 135.5 kB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.3585, allocations: 63.92 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002466/0.3588, allocations: 189.7 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.3588, allocations: 31.81 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.3594, allocations: 361.2 kB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.3594, allocations: 7.938 kB / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3594, allocations: 0 / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3594, allocations: 0 / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009613/0.3604, allocations: 0.7492 MB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3604, allocations: 3.938 kB / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3606, allocations: 39.91 kB / 1.18 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3606, allocations: 0 / 1.18 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3606, allocations: 8 kB / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3606, allocations: 3.938 kB / 1.18 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3606, allocations: 0 / 1.18 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.3611, allocations: 436.2 kB / 1.18 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3612, allocations: 112.8 kB / 1.18 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3613, allocations: 15.98 kB / 1.18 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3614, allocations: 15.92 kB / 1.18 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.3615, allocations: 19.97 kB / 1.18 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3615, allocations: 12 kB / 1.18 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000234/0.3618, allocations: 219 kB / 1.181 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3618, allocations: 0 / 1.181 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004269/0.3622, allocations: 91.89 kB / 1.181 GB, free: 7.879 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009618/0.3632, allocations: 0.996 MB / 1.182 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008705/0.364, allocations: 0.6697 MB / 1.182 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3641, allocations: 8.25 kB / 1.182 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.3642, allocations: 147.8 kB / 1.182 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.3648, allocations: 72.92 kB / 1.183 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.3698, allocations: 3.832 MB / 1.186 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.3703, allocations: 0.7838 MB / 1.187 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.3705, allocations: 71.22 kB / 1.187 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.3707, allocations: 115.4 kB / 1.187 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of SimCode: time 1.262e-06/0.3707, allocations: 0 / 1.187 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.396, allocations: 8.428 MB / 1.195 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.665, allocations: 8 kB / 1.195 GB, free: 8.652 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches