Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.001782/0.001782, allocations: 99.55 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.001771/0.001771, 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.745/2.745, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.756/4.756, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007842/0.0007849, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586/1.587, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001703/1.588, allocations: 0.572 MB / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002859/1.591, allocations: 1.234 MB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/1.591, allocations: 4 kB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/1.592, allocations: 15.86 kB / 0.9827 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/1.592, allocations: 19.97 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/1.593, allocations: 225.4 kB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004098/1.594, allocations: 163.7 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/1.594, allocations: 45.66 kB / 0.9831 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/1.594, allocations: 99.72 kB / 0.9832 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/1.594, allocations: 75.67 kB / 0.9833 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/1.595, allocations: 12 kB / 0.9833 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/1.595, allocations: 27.97 kB / 0.9833 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/1.595, allocations: 39.91 kB / 0.9833 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/1.595, allocations: 57.58 kB / 0.9834 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/1.596, allocations: 257.6 kB / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.596, allocations: 0 / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.184e-06/1.596, allocations: 3.984 kB / 0.9836 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.688e-06/1.596, allocations: 0 / 0.9836 GB, free: 3.457 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001101/1.597, allocations: 0.4902 MB / 0.9841 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/1.597, allocations: 15.97 kB / 0.9841 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/1.597, allocations: 46.55 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/1.597, allocations: 27.81 kB / 0.9842 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.598, allocations: 306.5 kB / 0.9845 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/1.598, allocations: 12 kB / 0.9845 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/1.598, allocations: 20 kB / 0.9845 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/1.599, allocations: 154.5 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.599, allocations: 3.938 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/1.599, allocations: 0 / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/1.599, allocations: 4 kB / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/1.599, allocations: 71.89 kB / 0.9847 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/1.601, allocations: 0.7508 MB / 0.9855 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/1.601, allocations: 57.14 kB / 0.9855 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/1.601, allocations: 11.95 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/1.601, allocations: 109 kB / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.484e-06/1.601, allocations: 0 / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005153/1.602, allocations: 125.4 kB / 0.9858 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.602, allocations: 81.11 kB / 0.9858 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/1.602, allocations: 211.7 kB / 0.986 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/1.602, allocations: 29.7 kB / 0.9861 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/1.603, allocations: 140.1 kB / 0.9862 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/1.603, allocations: 15.81 kB / 0.9862 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/1.603, allocations: 4 kB / 0.9862 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.603, allocations: 330.8 kB / 0.9865 GB, free: 196 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/1.603, allocations: 63.91 kB / 0.9866 GB, free: 132 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/1.604, allocations: 136.5 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/1.604, allocations: 127.4 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/1.604, allocations: 0 / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008707/1.605, allocations: 296.6 kB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/1.605, allocations: 67.39 kB / 0.9872 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.605, allocations: 0 / 0.9872 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/1.605, allocations: 4 kB / 0.9872 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.605, allocations: 11.94 kB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.605, allocations: 8.172 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/1.606, allocations: 87.84 kB / 0.9873 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/1.606, allocations: 15.98 kB / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0003299/1.607, allocations: 143 kB / 0.9875 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/1.607, allocations: 19.84 kB / 0.9875 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/1.607, allocations: 12.94 kB / 0.9875 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.607, allocations: 0 / 0.9875 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.607, allocations: 3.938 kB / 0.9875 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.607, allocations: 4 kB / 0.9875 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/1.607, allocations: 249.4 kB / 0.9877 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.607, allocations: 0 / 0.9877 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/1.607, allocations: 4 kB / 0.9877 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/1.607, allocations: 7.922 kB / 0.9877 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/1.607, allocations: 7.891 kB / 0.9878 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.607, allocations: 4 kB / 0.9878 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.607, allocations: 0 / 0.9878 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/1.608, allocations: 143.5 kB / 0.9879 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/1.608, allocations: 85.02 kB / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/1.608, allocations: 15.88 kB / 0.988 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/1.608, allocations: 0 / 0.988 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/1.608, allocations: 4 kB / 0.988 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/1.608, allocations: 4 kB / 0.988 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002314/1.608, allocations: 144.2 kB / 0.9881 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.61e-07/1.608, allocations: 0 / 0.9881 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005158/1.609, allocations: 47.91 kB / 0.9882 GB, free: 14.34 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001086/1.61, allocations: 0.7671 MB / 0.9889 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008384/1.611, allocations: 259 kB / 0.9892 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.611, allocations: 0 / 0.9892 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/1.611, allocations: 36.09 kB / 0.9892 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/1.611, allocations: 35.88 kB / 0.9892 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/1.614, allocations: 1.64 MB / 0.9909 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/1.615, allocations: 0.736 MB / 0.9916 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001268/1.615, allocations: 25.47 kB / 0.9916 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/1.615, allocations: 55.42 kB / 0.9916 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of SimCode: time 1.082e-06/1.615, allocations: 0 / 0.9916 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/1.644, allocations: 4.027 MB / 0.9956 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004155/1.645, allocations: 198.5 kB / 0.9958 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/4.724, allocations: 1.406 kB / 0.9958 GB, free: 6.578 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat does not exist to compare? outputFormat=mat