Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001186/0.001186, allocations: 179.3 kB / 498.1 MB, free: 5.695 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.482/1.482, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.001004/0.001004, allocations: 100.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004737, allocations: 10.22 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3088, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.4879, allocations: 149 MB / 1.369 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4882, allocations: 75.91 kB / 1.369 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002921/0.4911, allocations: 0.93 MB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4912, allocations: 0 / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.4912, allocations: 0 / 1.369 GB, free: 11.91 MB / 0.8698 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.0004662/0.4916, allocations: 359.2 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4917, allocations: 8.031 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.4918, allocations: 38.55 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.4918, allocations: 11.91 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.4919, allocations: 171 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.492, allocations: 4 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.492, allocations: 0 / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4922, allocations: 69.66 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4922, allocations: 0 / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4923, allocations: 4 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.4923, allocations: 7.938 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.4925, allocations: 63.94 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.493, allocations: 300.6 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.4932, allocations: 62.55 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.4932, allocations: 4.031 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4932, allocations: 30.56 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4932, allocations: 4 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004346/0.4937, allocations: 125.7 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4937, allocations: 59.36 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.4938, allocations: 101 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4938, allocations: 29.69 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.4939, allocations: 84.14 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.4939, allocations: 15.88 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.4939, allocations: 0 / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.494, allocations: 314.8 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.4941, allocations: 31.97 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.791e-05/0.4943, allocations: 31.97 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.4944, allocations: 23.98 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4944, allocations: 0 / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002586/0.4946, allocations: 101.6 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4947, allocations: 9.25 kB / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4947, allocations: 0 / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4947, allocations: 336 / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4948, allocations: 15.98 kB / 1.371 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4948, allocations: 0 / 1.371 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.4949, allocations: 15.94 kB / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.495, allocations: 4 kB / 1.371 GB, free: 9.637 MB / 0.8698 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 () * Number of clocked 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 8.219e-05/0.495, allocations: 113.8 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.4951, allocations: 15.84 kB / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.4951, allocations: 3.906 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4951, allocations: 0 / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.4951, allocations: 4 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4951, allocations: 0 / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.4953, allocations: 181.6 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4953, allocations: 0 / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4954, allocations: 19.92 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4954, allocations: 0 / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4955, allocations: 0 / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4955, allocations: 4 kB / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4955, allocations: 3.984 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.4958, allocations: 187.5 kB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.4958, allocations: 89 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.4959, allocations: 3.938 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.496, allocations: 4 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.496, allocations: 15.98 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.496, allocations: 7.984 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.4961, allocations: 87.58 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4961, allocations: 0 / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002281/0.4963, allocations: 12 kB / 1.372 GB, free: 8.797 MB / 0.8698 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 () * Number of clocked 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.000607/0.497, allocations: 0.7433 MB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.4972, allocations: 63.95 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4972, allocations: 0 / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4974, allocations: 39.91 kB / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.4976, allocations: 9.547 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.4985, allocations: 482.4 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.4987, allocations: 0.6887 MB / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.524e-05/0.4988, allocations: 4 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.4989, allocations: 15.42 kB / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of SimCode: time 3.3e-07/0.4989, allocations: 0 / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.5127, allocations: 1.491 MB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.513, allocations: 196.5 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.992, allocations: 7.938 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat does not exist to compare? outputFormat=mat