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.00137/0.00137, allocations: 112.5 kB / 15.73 MB, free: 76 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.001392/0.001392, allocations: 190.3 kB / 16.67 MB, free: 6.57 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.428/2.428, allocations: 437.1 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002052/0.2469, allocations: 1.152 MB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2486, allocations: 1.506 MB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.2487, allocations: 4 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.2488, allocations: 27.61 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2489, allocations: 59.5 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.2499, allocations: 493.3 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000579/0.2505, allocations: 0.6167 MB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.2507, allocations: 152.7 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.251, allocations: 235.4 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2512, allocations: 219.2 kB / 1.171 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/0.2513, allocations: 60 kB / 1.171 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2515, allocations: 71.98 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.2516, allocations: 75.77 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.2518, allocations: 227 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.2524, allocations: 0.6267 MB / 1.172 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2524, allocations: 0 / 1.172 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2524, allocations: 0 / 1.172 GB, free: 1.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2524, allocations: 4 kB / 1.172 GB, free: 1.766 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.0009159/0.2533, allocations: 0.7507 MB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2534, allocations: 8.031 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.2535, allocations: 62.72 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.2536, allocations: 52.7 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009052/0.2545, allocations: 404.1 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.2545, allocations: 24.81 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.2546, allocations: 36.38 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.255, allocations: 259.5 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.255, allocations: 0 / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.255, allocations: 11.98 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.255, allocations: 4 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.2553, allocations: 157.8 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2565, allocations: 0.853 MB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.2568, allocations: 222.7 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2571, allocations: 202.9 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2571, allocations: 7.984 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.2575, allocations: 245.2 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.262e-06/0.2575, allocations: 0 / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0006436/0.2581, allocations: 434.5 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.2582, allocations: 114.7 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.2585, allocations: 332.3 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.2586, allocations: 41.7 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.2587, allocations: 188.7 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.2588, allocations: 55.53 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.259, allocations: 146 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2591, allocations: 346.8 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.2595, allocations: 208.6 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.2599, allocations: 325 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.2605, allocations: 0.531 MB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2605, allocations: 4 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00104/0.2616, allocations: 0.7408 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.2617, allocations: 126.8 kB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2617, allocations: 4 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2617, allocations: 4 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2619, allocations: 63.84 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2619, allocations: 7.938 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/0.2625, allocations: 135.5 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.2626, allocations: 63.92 kB / 1.178 GB, free: 10.23 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.0001894/0.2628, allocations: 189.8 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2629, allocations: 31.81 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.2634, allocations: 357.2 kB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2634, allocations: 7.938 kB / 1.179 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2634, allocations: 0 / 1.179 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2634, allocations: 7.984 kB / 1.179 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/0.2642, allocations: 0.7458 MB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2643, allocations: 7.938 kB / 1.18 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.2644, allocations: 39.92 kB / 1.18 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2644, allocations: 4 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.2644, allocations: 11.98 kB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2644, allocations: 0 / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2644, allocations: 3.938 kB / 1.18 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.2649, allocations: 432.6 kB / 1.18 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.265, allocations: 116.7 kB / 1.18 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.265, allocations: 4 kB / 1.18 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2651, allocations: 11.98 kB / 1.18 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2652, allocations: 27.91 kB / 1.18 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2652, allocations: 12 kB / 1.18 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001973/0.2654, allocations: 211.1 kB / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2654, allocations: 0 / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003493/0.2658, allocations: 103.8 kB / 1.181 GB, free: 7.84 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.0007858/0.2666, allocations: 0.9915 MB / 1.182 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.2674, allocations: 0.678 MB / 1.182 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2674, allocations: 0 / 1.182 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2676, allocations: 139.9 kB / 1.182 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.2681, allocations: 85.2 kB / 1.183 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.2725, allocations: 3.83 MB / 1.186 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2729, allocations: 0.772 MB / 1.187 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.273, allocations: 71.23 kB / 1.187 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2732, allocations: 115.4 kB / 1.187 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.2732, allocations: 4 kB / 1.187 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.611/3.884, allocations: 8.432 MB / 1.195 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/15.87, allocations: 14.97 kB / 1.195 GB, free: 8.621 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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