Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_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.001415/0.001416, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002096/0.002096, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.674/2.674, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.838/4.838, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005883/0.0005884, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538/1.539, allocations: 146.8 MB / 0.9809 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002323/1.541, allocations: 0.8057 MB / 0.9817 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003142/1.544, allocations: 1.413 MB / 0.9831 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/1.545, allocations: 7.938 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/1.545, allocations: 19.8 kB / 0.9831 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/1.545, allocations: 55.84 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/1.547, allocations: 416 kB / 0.9835 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006394/1.548, allocations: 296.2 kB / 0.9838 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/1.548, allocations: 107.1 kB / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/1.549, allocations: 171.5 kB / 0.9841 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/1.549, allocations: 147.4 kB / 0.9842 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/1.549, allocations: 20 kB / 0.9842 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/1.549, allocations: 31.98 kB / 0.9843 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/1.549, allocations: 55.77 kB / 0.9843 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/1.549, allocations: 85.52 kB / 0.9844 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007143/1.55, allocations: 480.9 kB / 0.9849 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.55, allocations: 0 / 0.9849 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/1.55, allocations: 0 / 0.9849 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.987e-06/1.55, allocations: 4 kB / 0.9849 GB, free: 2.273 MB / 0.7325 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.001246/1.552, allocations: 0.6419 MB / 0.9855 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.914e-05/1.552, allocations: 12.03 kB / 0.9855 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/1.552, allocations: 58.53 kB / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/1.552, allocations: 43.53 kB / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/1.554, allocations: 406.6 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/1.554, allocations: 28.42 kB / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.554, allocations: 36 kB / 0.986 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/1.555, allocations: 251.1 kB / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.555, allocations: 0 / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/1.555, allocations: 12 kB / 0.9863 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.555, allocations: 4 kB / 0.9863 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/1.555, allocations: 161.7 kB / 0.9865 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/1.558, allocations: 0.849 MB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/1.558, allocations: 218.7 kB / 0.9875 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/1.558, allocations: 0 / 0.9875 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000588/1.559, allocations: 239.9 kB / 0.9877 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 2.806e-06/1.559, allocations: 0 / 0.9877 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.001258/1.56, allocations: 427.3 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.56, allocations: 118.8 kB / 0.9882 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/1.561, allocations: 328.2 kB / 0.9886 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.561, allocations: 41.7 kB / 0.9886 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/1.561, allocations: 176.5 kB / 0.9888 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.561, allocations: 59.25 kB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/1.562, allocations: 16 kB / 0.9888 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.562, allocations: 342.8 kB / 0.9892 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/1.563, allocations: 204.7 kB / 0.9894 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/1.563, allocations: 324.9 kB / 0.9897 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/1.564, allocations: 336.1 kB / 0.99 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.564, allocations: 0 / 0.99 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002179/1.566, allocations: 0.7363 MB / 0.9907 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.567, allocations: 122.8 kB / 0.9908 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.567, allocations: 4 kB / 0.9908 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/1.567, allocations: 15.94 kB / 0.9908 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/1.567, allocations: 55.91 kB / 0.9909 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/1.567, allocations: 19.88 kB / 0.9909 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.568, allocations: 175.8 kB / 0.9911 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/1.569, allocations: 67.92 kB / 0.9911 GB, free: 11.43 MB / 0.7481 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],extIndInt.u[2],extIndInt.u[3],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,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,intPul2.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,intPul3.y,$PRE.intPul3.booPul.y,intPul3.booPul.y,extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004135/1.569, allocations: 193.7 kB / 0.9913 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.569, allocations: 27.62 kB / 0.9914 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/1.57, allocations: 361.7 kB / 0.9917 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.57, allocations: 4 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.57, allocations: 0 / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/1.57, allocations: 7.938 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/1.572, allocations: 0.7601 MB / 0.9925 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.572, allocations: 0 / 0.9925 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/1.572, allocations: 39.92 kB / 0.9925 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/1.572, allocations: 4 kB / 0.9925 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/1.572, allocations: 7.984 kB / 0.9925 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.339e-05/1.572, allocations: 7.953 kB / 0.9925 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.572, allocations: 0 / 0.9925 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/1.573, allocations: 427 kB / 0.9929 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.573, allocations: 108.7 kB / 0.993 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/1.573, allocations: 8 kB / 0.993 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/1.574, allocations: 15.98 kB / 0.993 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/1.574, allocations: 19.92 kB / 0.9931 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/1.574, allocations: 12 kB / 0.9931 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003827/1.574, allocations: 211.1 kB / 0.9933 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/1.574, allocations: 0 / 0.9933 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000961/1.575, allocations: 99.89 kB / 0.9934 GB, free: 9.043 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/1.577, allocations: 0.9803 MB / 0.9943 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001694/1.579, allocations: 0.6695 MB / 0.995 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.579, allocations: 0 / 0.995 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003582/1.579, allocations: 151.8 kB / 0.9951 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/1.58, allocations: 75.25 kB / 0.9952 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/1.583, allocations: 2.915 MB / 0.998 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/1.584, allocations: 0.7888 MB / 0.9988 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000358/1.584, allocations: 79.2 kB / 0.9989 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.585, allocations: 111.4 kB / 0.999 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of SimCode: time 1.673e-06/1.585, allocations: 0 / 0.999 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/1.622, allocations: 7.847 MB / 1.007 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/1.622, allocations: 202.6 kB / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.358/4.98, allocations: 1.875 kB / 1.007 GB, free: 11.24 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat does not exist to compare? outputFormat=mat