Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 176.9 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 0.7871 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 100 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.557e-05/4.617e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 142.4 MB / 1.213 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.339, allocations: 148.3 MB / 1.357 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.34, allocations: 69.91 kB / 1.357 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001092/1.341, allocations: 370.1 kB / 1.358 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.963e-06/1.341, allocations: 0 / 1.358 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.341, allocations: 0 / 1.358 GB, free: 34.68 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001949/1.341, allocations: 313.8 kB / 1.358 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.341, allocations: 7.75 kB / 1.358 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/1.341, allocations: 31.22 kB / 1.358 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/1.341, allocations: 3.844 kB / 1.358 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/1.341, allocations: 168.7 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/1.341, allocations: 0.5938 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/1.341, allocations: 7.375 kB / 1.358 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/1.341, allocations: 30.38 kB / 1.358 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/1.341, allocations: 0 / 1.358 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/1.341, allocations: 0 / 1.358 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.341, allocations: 0 / 1.358 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/1.341, allocations: 0.7969 kB / 1.358 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/1.341, allocations: 382.4 kB / 1.359 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/1.342, allocations: 179.2 kB / 1.359 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/1.342, allocations: 80.14 kB / 1.359 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/1.342, allocations: 79.09 kB / 1.359 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/1.342, allocations: 110.1 kB / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/1.342, allocations: 0 / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.467e-05/1.342, allocations: 31.12 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/1.342, allocations: 131.5 kB / 1.359 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/1.342, allocations: 89.58 kB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/1.342, allocations: 25.7 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/1.342, allocations: 80.14 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/1.342, allocations: 3.828 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.342, allocations: 0 / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/1.342, allocations: 322.5 kB / 1.36 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/1.342, allocations: 4.125 kB / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-06/1.342, allocations: 0 / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/1.342, allocations: 77.25 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/1.342, allocations: 75.28 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.886e-05/1.342, allocations: 34.22 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/1.342, allocations: 84.5 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.342, allocations: 75.98 kB / 1.36 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.067e-05/1.342, allocations: 158.9 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.691e-05/1.342, allocations: 83.31 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.971e-05/1.342, allocations: 150.6 kB / 1.36 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/1.342, allocations: 79.92 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.342, allocations: 79.47 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 8.307e-05/1.342, allocations: 256.9 kB / 1.361 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/1.343, allocations: 113.6 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/1.343, allocations: 120.1 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/1.343, allocations: 177.2 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-05/1.343, allocations: 185 kB / 1.361 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/1.343, allocations: 177.1 kB / 1.362 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/1.343, allocations: 411.4 kB / 1.362 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/1.343, allocations: 105.7 kB / 1.362 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/1.343, allocations: 101.8 kB / 1.362 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.36e-05/1.343, allocations: 184.6 kB / 1.362 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/1.343, allocations: 180.8 kB / 1.362 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.992e-05/1.343, allocations: 177 kB / 1.363 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.061e-05/1.343, allocations: 185 kB / 1.363 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/1.343, allocations: 309.5 kB / 1.363 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/1.343, allocations: 183.5 kB / 1.363 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/1.343, allocations: 179.9 kB / 1.363 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/1.343, allocations: 109.7 kB / 1.364 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/1.344, allocations: 184.2 kB / 1.364 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/1.344, allocations: 104.9 kB / 1.364 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.865e-05/1.344, allocations: 76.08 kB / 1.364 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.344, allocations: 0 / 1.364 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002493/1.344, allocations: 3.844 kB / 1.364 GB, free: 28.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004102/1.344, allocations: 0.811 MB / 1.365 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.295e-05/1.344, allocations: 7.812 kB / 1.365 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.344, allocations: 0 / 1.365 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/1.344, allocations: 0 / 1.365 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/1.345, allocations: 0.524 MB / 1.365 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/1.345, allocations: 147.4 kB / 1.365 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/1.345, allocations: 0.6741 MB / 1.366 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.435e-05/1.345, allocations: 0.6562 kB / 1.366 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/1.345, allocations: 7.438 kB / 1.366 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.345, allocations: 3.844 kB / 1.366 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/1.356, allocations: 0.7321 MB / 1.367 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.357, allocations: 163.6 kB / 1.367 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.387/2.744, allocations: 0 / 1.367 GB, free: 25.45 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat