Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",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.001757/0.001757, allocations: 99.62 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.003001/0.003001, allocations: 177.3 kB / 15.95 MB, free: 216 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.786/2.786, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.143/5.143, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.000635, allocations: 12 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531/1.531, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001894/1.533, allocations: 0.7005 MB / 0.9816 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003125/1.537, allocations: 1.366 MB / 0.9829 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/1.537, allocations: 4 kB / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/1.537, allocations: 15.8 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/1.537, allocations: 43.86 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/1.539, allocations: 412.2 kB / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006157/1.54, allocations: 256.2 kB / 0.9836 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/1.54, allocations: 93.98 kB / 0.9837 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/1.54, allocations: 159.6 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/1.541, allocations: 127.5 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/1.541, allocations: 20 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/1.541, allocations: 31.98 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/1.541, allocations: 47.83 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/1.541, allocations: 73.58 kB / 0.9841 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000597/1.542, allocations: 377.3 kB / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.542, allocations: 0 / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/1.542, allocations: 0 / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.542, allocations: 0 / 0.9845 GB, free: 2.543 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00121/1.543, allocations: 0.6124 MB / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.543, allocations: 12.03 kB / 0.9851 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.752e-05/1.543, allocations: 58.53 kB / 0.9851 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/1.543, allocations: 43.56 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.545, allocations: 367.8 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/1.545, allocations: 24.38 kB / 0.9856 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.545, allocations: 35.95 kB / 0.9856 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/1.546, allocations: 224.5 kB / 0.9858 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.546, allocations: 3.984 kB / 0.9858 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/1.546, allocations: 8 kB / 0.9858 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/1.546, allocations: 7.984 kB / 0.9858 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/1.546, allocations: 139.3 kB / 0.986 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/1.548, allocations: 0.7734 MB / 0.9867 GB, free: 72 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/1.549, allocations: 182.5 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.549, allocations: 3.938 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/1.549, allocations: 243.8 kB / 0.9871 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/1.549, allocations: 0 / 0.9871 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.001128/1.55, allocations: 415 kB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.55, allocations: 110.8 kB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/1.551, allocations: 282.4 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/1.551, allocations: 45.69 kB / 0.9879 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/1.551, allocations: 152.6 kB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/1.551, allocations: 63.25 kB / 0.9881 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/1.551, allocations: 16 kB / 0.9882 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002544/1.552, allocations: 351.1 kB / 0.9885 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/1.552, allocations: 200.2 kB / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/1.553, allocations: 320.3 kB / 0.989 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/1.554, allocations: 328.1 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.554, allocations: 3.984 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001711/1.555, allocations: 0.7172 MB / 0.99 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.555, allocations: 128.5 kB / 0.9901 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.555, allocations: 8 kB / 0.9901 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.556, allocations: 4 kB / 0.9901 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/1.556, allocations: 27.92 kB / 0.9902 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/1.556, allocations: 7.938 kB / 0.9902 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.557, allocations: 171.4 kB / 0.9903 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.557, allocations: 63.92 kB / 0.9904 GB, free: 12.08 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,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.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.0003576/1.557, allocations: 189.7 kB / 0.9906 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/1.557, allocations: 31.7 kB / 0.9906 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008411/1.558, allocations: 348.8 kB / 0.9909 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.558, allocations: 11.94 kB / 0.991 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.558, allocations: 0 / 0.991 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.558, allocations: 0 / 0.991 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/1.56, allocations: 0.7211 MB / 0.9917 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.56, allocations: 4 kB / 0.9917 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.56, allocations: 15.98 kB / 0.9917 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/1.56, allocations: 4 kB / 0.9917 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.56, allocations: 4 kB / 0.9917 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/1.56, allocations: 4 kB / 0.9917 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.56, allocations: 0 / 0.9917 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000721/1.561, allocations: 419 kB / 0.9921 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.561, allocations: 104.7 kB / 0.9922 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/1.561, allocations: 12 kB / 0.9922 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/1.561, allocations: 17.09 kB / 0.9922 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.561, allocations: 19.97 kB / 0.9922 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/1.561, allocations: 12 kB / 0.9923 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003279/1.562, allocations: 186 kB / 0.9924 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.562, allocations: 0 / 0.9924 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008109/1.562, allocations: 91.89 kB / 0.9925 GB, free: 9.812 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 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.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.001363/1.564, allocations: 0.9724 MB / 0.9935 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.565, allocations: 0.658 MB / 0.9941 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/1.565, allocations: 4.188 kB / 0.9941 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/1.566, allocations: 131.8 kB / 0.9942 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/1.566, allocations: 56.52 kB / 0.9943 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/1.57, allocations: 2.852 MB / 0.9971 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/1.571, allocations: 0.7729 MB / 0.9978 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002682/1.571, allocations: 62.92 kB / 0.9979 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/1.571, allocations: 107.4 kB / 0.998 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of SimCode: time 1.794e-06/1.572, allocations: 0 / 0.998 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05045/1.622, allocations: 7.201 MB / 1.005 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004849/1.623, allocations: 200.5 kB / 1.005 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/5.162, allocations: 1.25 kB / 1.005 GB, free: 12.79 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat does not exist to compare? outputFormat=mat