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.001034/0.001034, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.00136/0.00136, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.61/2.61, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8045, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001419/0.806, allocations: 0.8132 MB / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.8081, allocations: 1.479 MB / 0.9834 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.8082, allocations: 7.938 kB / 0.9834 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.8084, allocations: 19.73 kB / 0.9834 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.8085, allocations: 35.66 kB / 0.9835 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.8096, allocations: 423 kB / 0.9839 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.8101, allocations: 483.6 kB / 0.9843 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.8104, allocations: 111.1 kB / 0.9844 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.8106, allocations: 171.4 kB / 0.9846 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.8108, allocations: 147.4 kB / 0.9847 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.8108, allocations: 20 kB / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.8109, allocations: 31.98 kB / 0.9848 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.811, allocations: 55.77 kB / 0.9848 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.8112, allocations: 85.52 kB / 0.9849 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.8117, allocations: 469 kB / 0.9854 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.8117, allocations: 3.938 kB / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.746e-06/0.8117, allocations: 0 / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8117, allocations: 0 / 0.9854 GB, free: 1.93 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.0008323/0.8125, allocations: 0.6458 MB / 0.986 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.8126, allocations: 12.03 kB / 0.986 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.8127, allocations: 58.53 kB / 0.9861 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.8128, allocations: 51.53 kB / 0.9861 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009978/0.8138, allocations: 403.4 kB / 0.9865 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.8138, allocations: 32.36 kB / 0.9865 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.8139, allocations: 36 kB / 0.9866 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.8144, allocations: 251.2 kB / 0.9868 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.8144, allocations: 0 / 0.9868 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.8145, allocations: 12 kB / 0.9868 GB, free: 328 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.8145, allocations: 4 kB / 0.9868 GB, free: 324 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.8148, allocations: 153.7 kB / 0.987 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.8161, allocations: 0.8607 MB / 0.9878 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.8165, allocations: 220.3 kB / 0.988 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.8168, allocations: 202 kB / 0.9882 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.8169, allocations: 0 / 0.9882 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.8172, allocations: 247.8 kB / 0.9884 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.8172, allocations: 0 / 0.9884 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.0006749/0.8179, allocations: 431 kB / 0.9888 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.818, allocations: 110.8 kB / 0.989 GB, free: 14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.8183, allocations: 324.2 kB / 0.9893 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.8183, allocations: 37.7 kB / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.8185, allocations: 180.5 kB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.8186, allocations: 63.19 kB / 0.9895 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.8186, allocations: 16 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8188, allocations: 350.7 kB / 0.9899 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.8191, allocations: 204.7 kB / 0.9901 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.8196, allocations: 325 kB / 0.9904 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.82, allocations: 336 kB / 0.9907 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.82, allocations: 0 / 0.9907 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001064/0.8211, allocations: 0.7366 MB / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.8212, allocations: 126.9 kB / 0.9915 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.8212, allocations: 7.953 kB / 0.9916 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.8212, allocations: 8 kB / 0.9916 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.8214, allocations: 51.91 kB / 0.9916 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.8215, allocations: 8 kB / 0.9916 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.8221, allocations: 179.4 kB / 0.9918 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.8222, allocations: 67.86 kB / 0.9919 GB, free: 10.88 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.0002271/0.8225, allocations: 189.8 kB / 0.992 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.8225, allocations: 27.62 kB / 0.9921 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.8231, allocations: 369.5 kB / 0.9924 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.8231, allocations: 11.94 kB / 0.9924 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8231, allocations: 4 kB / 0.9924 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8231, allocations: 0 / 0.9924 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.824, allocations: 0.7485 MB / 0.9932 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.824, allocations: 0 / 0.9932 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.8242, allocations: 39.88 kB / 0.9932 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.8242, allocations: 8 kB / 0.9932 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.8242, allocations: 7.984 kB / 0.9932 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.8242, allocations: 8 kB / 0.9932 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8242, allocations: 0 / 0.9932 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.8247, allocations: 423 kB / 0.9936 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.8248, allocations: 108.7 kB / 0.9937 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.8248, allocations: 11.95 kB / 0.9937 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.825, allocations: 17.11 kB / 0.9938 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.825, allocations: 19.97 kB / 0.9938 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.825, allocations: 8 kB / 0.9938 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002238/0.8253, allocations: 219 kB / 0.994 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8253, allocations: 0 / 0.994 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003839/0.8257, allocations: 91.91 kB / 0.9941 GB, free: 8.488 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.0009346/0.8266, allocations: 0.988 MB / 0.995 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008666/0.8275, allocations: 0.6691 MB / 0.9957 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8275, allocations: 0.8125 kB / 0.9957 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.8277, allocations: 143.9 kB / 0.9958 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.8282, allocations: 77 kB / 0.9959 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.8313, allocations: 2.153 MB / 0.998 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.8317, allocations: 0.7772 MB / 0.9988 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.8319, allocations: 75.22 kB / 0.9988 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.8321, allocations: 115.4 kB / 0.999 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of SimCode: time 7.72e-07/0.8321, allocations: 0 / 0.999 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.8618, allocations: 7.994 MB / 1.007 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.8621, allocations: 208 kB / 1.007 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.851, allocations: 0 / 1.007 GB, free: 11.34 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