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.0009653/0.0009654, allocations: 86.95 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.001357/0.001357, 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.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.569/2.569, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7462, allocations: 146.8 MB / 0.9811 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001072/0.7473, allocations: 0.5757 MB / 0.9817 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.7488, allocations: 1.261 MB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.7489, allocations: 0 / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.838e-05/0.749, allocations: 19.86 kB / 0.983 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.7491, allocations: 23.78 kB / 0.983 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.7497, allocations: 225.1 kB / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.75, allocations: 267.4 kB / 0.9835 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.7501, allocations: 41.66 kB / 0.9835 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.7504, allocations: 103.7 kB / 0.9836 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.7506, allocations: 103.6 kB / 0.9837 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.7506, allocations: 12 kB / 0.9837 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.7507, allocations: 19.98 kB / 0.9837 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.7508, allocations: 39.83 kB / 0.9838 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.7509, allocations: 61.58 kB / 0.9838 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.7513, allocations: 241.6 kB / 0.984 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7513, allocations: 0 / 0.984 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.637e-06/0.7513, allocations: 8 kB / 0.9841 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.7513, allocations: 0 / 0.9841 GB, free: 3.312 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.0005622/0.7519, allocations: 0.4955 MB / 0.9845 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7519, allocations: 8.031 kB / 0.9845 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.752, allocations: 38.56 kB / 0.9846 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.752, allocations: 27.8 kB / 0.9846 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.7526, allocations: 303.6 kB / 0.9849 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.7527, allocations: 15.94 kB / 0.9849 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.7527, allocations: 20 kB / 0.9849 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.753, allocations: 146.5 kB / 0.9851 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.753, allocations: 0 / 0.9851 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.753, allocations: 4 kB / 0.9851 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.753, allocations: 7.984 kB / 0.9851 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.7531, allocations: 71.84 kB / 0.9852 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.7539, allocations: 0.7468 MB / 0.9859 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.7541, allocations: 61.22 kB / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.7541, allocations: 25.73 kB / 0.986 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.7541, allocations: 0 / 0.986 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.7544, allocations: 108.9 kB / 0.9861 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.7544, allocations: 3.938 kB / 0.9861 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0003282/0.7547, allocations: 125.4 kB / 0.9862 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.7548, allocations: 81.11 kB / 0.9863 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.755, allocations: 215.7 kB / 0.9865 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.7551, allocations: 33.7 kB / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7552, allocations: 139.8 kB / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.7552, allocations: 15.81 kB / 0.9867 GB, free: 376 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.7553, allocations: 7.984 kB / 0.9867 GB, free: 368 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7554, allocations: 326.8 kB / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.7556, allocations: 59.97 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.7558, allocations: 122.8 kB / 0.9872 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.7559, allocations: 127.3 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.756, allocations: 0 / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004735/0.7564, allocations: 296.6 kB / 0.9876 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/0.7565, allocations: 67.39 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7565, allocations: 0 / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.7566, allocations: 4 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.7566, allocations: 8 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.7567, allocations: 7.984 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.757, allocations: 72.05 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.757, allocations: 15.98 kB / 0.9877 GB, free: 15.2 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.0002066/0.7573, allocations: 155.7 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.7573, allocations: 15.84 kB / 0.9879 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.7573, allocations: 20.94 kB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7573, allocations: 0 / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7574, allocations: 0 / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7574, allocations: 0 / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.7576, allocations: 241.4 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7576, allocations: 0 / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.7577, allocations: 4 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.7577, allocations: 7.984 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7577, allocations: 7.953 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7577, allocations: 0 / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.7577, allocations: 4 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.7579, allocations: 129.7 kB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.758, allocations: 85.02 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.7581, allocations: 7.984 kB / 0.9884 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.7581, allocations: 7.953 kB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.7581, allocations: 8 kB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.7581, allocations: 4 kB / 0.9884 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001252/0.7583, allocations: 144.2 kB / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7583, allocations: 0 / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002852/0.7586, allocations: 43.84 kB / 0.9886 GB, free: 14.24 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.0006074/0.7592, allocations: 0.6848 MB / 0.9892 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.7596, allocations: 255.1 kB / 0.9895 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7596, allocations: 0 / 0.9895 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-05/0.7597, allocations: 36.11 kB / 0.9895 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.76, allocations: 40.36 kB / 0.9896 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.7617, allocations: 1.106 MB / 0.9906 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.7621, allocations: 0.7319 MB / 0.9914 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.048e-05/0.7622, allocations: 21.55 kB / 0.9914 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.7623, allocations: 55.42 kB / 0.9914 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of SimCode: time 6.62e-07/0.7623, allocations: 0 / 0.9914 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.7763, allocations: 3.969 MB / 0.9953 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.7765, allocations: 213.8 kB / 0.9955 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.703, allocations: 0 / 0.9955 GB, free: 7.172 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