Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.517/2.517, allocations: 393.5 MB / 408.4 MB, free: 10.89 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.001629/0.001629, allocations: 177.3 kB / 0.4901 GB, free: 2.094 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.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009026/0.0009025, allocations: 97.92 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 13.83 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2926, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.4772, allocations: 149.1 MB / 1.375 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4776, allocations: 71.94 kB / 1.375 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005425/0.4781, allocations: 372.9 kB / 1.375 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4781, allocations: 3.938 kB / 1.375 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.4782, allocations: 0 / 1.375 GB, free: 3.918 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002711/0.4784, allocations: 319.4 kB / 1.376 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4785, allocations: 8.562 kB / 1.376 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.4785, allocations: 34.5 kB / 1.376 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.4786, allocations: 0 / 1.376 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4787, allocations: 163 kB / 1.376 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4787, allocations: 4 kB / 1.376 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-06/0.4787, allocations: 0 / 1.376 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.4788, allocations: 25.7 kB / 1.376 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4788, allocations: 0 / 1.376 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.4788, allocations: 4 kB / 1.376 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.4788, allocations: 0 / 1.376 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.4789, allocations: 4 kB / 1.376 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.4792, allocations: 392.3 kB / 1.376 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.4793, allocations: 169.1 kB / 1.376 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4793, allocations: 79.28 kB / 1.377 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.4794, allocations: 105.8 kB / 1.377 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.4794, allocations: 0 / 1.377 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.706e-05/0.4794, allocations: 37.62 kB / 1.377 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.4795, allocations: 126.7 kB / 1.377 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.4796, allocations: 92.95 kB / 1.377 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.4796, allocations: 25.83 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.4796, allocations: 88.14 kB / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.4797, allocations: 0 / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.4797, allocations: 0 / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4798, allocations: 316.4 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-06/0.4798, allocations: 0 / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.4798, allocations: 0 / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.4798, allocations: 75.28 kB / 1.377 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.4798, allocations: 75.28 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.462e-05/0.4799, allocations: 37.69 kB / 1.377 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.48, allocations: 83.22 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.48, allocations: 75.28 kB / 1.378 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-05/0.4801, allocations: 158.6 kB / 1.378 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.309e-05/0.4801, allocations: 79.22 kB / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-05/0.4802, allocations: 150.6 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.4802, allocations: 79.22 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.4803, allocations: 91.23 kB / 1.378 GB, free: 0.8516 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.0001161/0.4804, allocations: 264.3 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4804, allocations: 101 kB / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.4805, allocations: 119.8 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/0.4806, allocations: 176.3 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.289e-05/0.4807, allocations: 184.2 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.3e-05/0.4807, allocations: 180.2 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.481, allocations: 405.2 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/0.481, allocations: 104.9 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.481, allocations: 105 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.627e-05/0.4811, allocations: 188.2 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.4812, allocations: 176.3 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.712e-05/0.4812, allocations: 176.3 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.405e-05/0.4813, allocations: 180.2 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.4815, allocations: 320 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.4816, allocations: 178.1 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.4816, allocations: 196.3 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.4817, allocations: 108.9 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.4818, allocations: 176.3 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.4818, allocations: 108.9 kB / 1.381 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.4819, allocations: 79.28 kB / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.4819, allocations: 0 / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002474/0.4821, allocations: 0 / 1.381 GB, free: 13.18 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.000386/0.4825, allocations: 0.8094 MB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 3.706e-05/0.4826, allocations: 12.03 kB / 1.382 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4826, allocations: 0 / 1.382 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.4826, allocations: 0 / 1.382 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4829, allocations: 0.5185 MB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.4834, allocations: 0.4899 MB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.4837, allocations: 0.6731 MB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.014e-05/0.4837, allocations: 4 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.4837, allocations: 7.438 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.4837, allocations: 3.938 kB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.4948, allocations: 0.7213 MB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.4951, allocations: 202.2 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.005, allocations: 0 / 1.385 GB, free: 9.754 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat