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.541/2.541, allocations: 393.5 MB / 408.4 MB, free: 11 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.001096/0.001096, allocations: 191.2 kB / 0.4902 GB, free: 2.227 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.685/1.685, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009231/0.0009231, allocations: 100.2 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003383, allocations: 14.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.4516, allocations: 149.8 MB / 1.376 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4519, allocations: 63.97 kB / 1.376 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003107/0.455, allocations: 0.9353 MB / 1.377 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.455, allocations: 0 / 1.377 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.4551, allocations: 4 kB / 1.377 GB, free: 2.652 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.000466/0.4555, allocations: 363.2 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.4556, allocations: 12.56 kB / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.597e-05/0.4557, allocations: 38.55 kB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.4557, allocations: 4 kB / 1.377 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.4558, allocations: 166.9 kB / 1.377 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4559, allocations: 4 kB / 1.377 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.4559, allocations: 8 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.4561, allocations: 73.64 kB / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4561, allocations: 3.938 kB / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4562, allocations: 0 / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4562, allocations: 0 / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.4564, allocations: 67.94 kB / 1.377 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.457, allocations: 288.8 kB / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.4572, allocations: 70.48 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.4572, allocations: 4.031 kB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.4573, allocations: 30.56 kB / 1.378 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.4573, allocations: 0 / 1.378 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004594/0.4577, allocations: 129.7 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.4578, allocations: 55.36 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.4579, allocations: 97 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4579, allocations: 29.7 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.4579, allocations: 92.06 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.458, allocations: 15.75 kB / 1.378 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.458, allocations: 7.938 kB / 1.378 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4581, allocations: 314.8 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4582, allocations: 27.97 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4583, allocations: 31.97 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.4584, allocations: 27.98 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4584, allocations: 0 / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002543/0.4587, allocations: 93.64 kB / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4587, allocations: 12 kB / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4587, allocations: 0 / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4588, allocations: 0 / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4589, allocations: 15.98 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4589, allocations: 0 / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.459, allocations: 12.27 kB / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.459, allocations: 4 kB / 1.379 GB, free: 384 kB / 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 9.115e-05/0.4591, allocations: 117.8 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.4592, allocations: 15.89 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.4592, allocations: 7.906 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4592, allocations: 0 / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4592, allocations: 0 / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4592, allocations: 4 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4594, allocations: 173.6 kB / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4594, allocations: 0 / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.4595, allocations: 16.05 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4596, allocations: 4 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.4596, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4596, allocations: 3.938 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4596, allocations: 4 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.4599, allocations: 193 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.4599, allocations: 88.94 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.46, allocations: 8 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4601, allocations: 4 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.4601, allocations: 11.92 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.4602, allocations: 11.98 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.4602, allocations: 79.28 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4602, allocations: 4 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002254/0.4605, allocations: 12 kB / 1.379 GB, free: 15.54 MB / 0.8855 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.0006486/0.4611, allocations: 0.7288 MB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.4614, allocations: 67.89 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4614, allocations: 0 / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4615, allocations: 39.97 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.4618, allocations: 0.6875 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.4628, allocations: 494.3 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.463, allocations: 0.6848 MB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.4631, allocations: 8 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.4632, allocations: 19.42 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.4632, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.4756, allocations: 1.499 MB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.4758, allocations: 191.3 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.976, allocations: 7.938 kB / 1.383 GB, free: 11.82 MB / 0.8855 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