Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.00162/0.00162, allocations: 172.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009689/0.0009687, allocations: 99.55 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.314e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3339, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.359, allocations: 149.8 MB / 1.365 GB, free: 4.238 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.359, allocations: 67.45 kB / 1.365 GB, free: 4.203 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002971/1.362, allocations: 0.9475 MB / 1.366 GB, free: 3.352 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.673e-06/1.362, allocations: 0 / 1.366 GB, free: 3.352 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.362, allocations: 0 / 1.366 GB, free: 3.352 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004176/1.362, allocations: 353.1 kB / 1.366 GB, free: 2.969 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.362, allocations: 8.031 kB / 1.366 GB, free: 2.961 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/1.362, allocations: 30.56 kB / 1.367 GB, free: 2.922 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/1.362, allocations: 7.906 kB / 1.367 GB, free: 2.914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/1.363, allocations: 167 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/1.363, allocations: 7.25 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/1.363, allocations: 0 / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/1.363, allocations: 64.8 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.363, allocations: 0 / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.363, allocations: 3.438 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.363, allocations: 0 / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/1.363, allocations: 23 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/1.363, allocations: 290.7 kB / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/1.364, allocations: 53.31 kB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/1.364, allocations: 23.59 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/1.364, allocations: 3.984 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.364, allocations: 38.44 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/1.364, allocations: 7.984 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001921/1.364, allocations: 60.52 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/1.364, allocations: 51.41 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/1.364, allocations: 100.4 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.364, allocations: 29.58 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/1.364, allocations: 88.03 kB / 1.367 GB, free: 1.844 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/1.364, allocations: 15.22 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/1.364, allocations: 0 / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/1.364, allocations: 314.8 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/1.364, allocations: 15.5 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/1.364, allocations: 15.8 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/1.364, allocations: 7.188 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.364, allocations: 0 / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/1.364, allocations: 58.25 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.365, allocations: 4 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.365, allocations: 4 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.365, allocations: 3.938 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/1.365, allocations: 19.97 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.365, allocations: 7.953 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/1.365, allocations: 7.906 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/1.365, allocations: 4 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.u,addPar.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.281e-05/1.365, allocations: 115.8 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/1.365, allocations: 3.938 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/1.365, allocations: 10.34 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/1.365, allocations: 0 / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.365, allocations: 4 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.365, allocations: 3.953 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/1.365, allocations: 173.8 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.365, allocations: 0 / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/1.365, allocations: 15.98 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.365, allocations: 0 / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/1.365, allocations: 0 / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.365, allocations: 0 / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.365, allocations: 0 / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/1.365, allocations: 170.1 kB / 1.368 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/1.366, allocations: 84.92 kB / 1.368 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.366, allocations: 0 / 1.368 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/1.366, allocations: 7.984 kB / 1.368 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/1.366, allocations: 11.17 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/1.366, allocations: 4 kB / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.428e-05/1.366, allocations: 82.16 kB / 1.369 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.61e-07/1.366, allocations: 4 kB / 1.369 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002144/1.366, allocations: 12 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.u,addPar.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000468/1.366, allocations: 0.7067 MB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001241/1.367, allocations: 30.73 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.367, allocations: 8 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/1.367, allocations: 19.25 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/1.367, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/1.367, allocations: 120.6 kB / 1.369 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/1.368, allocations: 0.6848 MB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.203e-05/1.368, allocations: 8 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/1.368, allocations: 14.92 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/1.368, allocations: 3.938 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/1.382, allocations: 1.5 MB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/1.382, allocations: 163.1 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.852, allocations: 0 / 1.372 GB, free: 13.43 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat does not exist to compare? outputFormat=mat