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.212/2.212, 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.001066/0.001066, allocations: 181.1 kB / 498.1 MB, free: 5.688 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.442/1.442, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001134/0.001134, allocations: 92.33 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.00036, allocations: 9.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.4388, allocations: 148.3 MB / 1.368 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4391, allocations: 71.95 kB / 1.368 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005584/0.4397, allocations: 372.9 kB / 1.368 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.106e-06/0.4397, allocations: 0 / 1.368 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.4397, allocations: 0 / 1.368 GB, free: 13.19 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.0003175/0.4401, allocations: 311.4 kB / 1.369 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4401, allocations: 12.09 kB / 1.369 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.4402, allocations: 34.56 kB / 1.369 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.4402, allocations: 0 / 1.369 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.4403, allocations: 163 kB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4404, allocations: 7.875 kB / 1.369 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.4404, allocations: 0 / 1.369 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.4405, allocations: 33.7 kB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.4405, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.4405, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4405, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.4405, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.4409, allocations: 398 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.441, allocations: 173.1 kB / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.441, allocations: 75.28 kB / 1.369 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.4411, allocations: 113.8 kB / 1.369 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.4411, allocations: 0 / 1.369 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.673e-05/0.4412, allocations: 25.7 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.4413, allocations: 130.6 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.4414, allocations: 96.95 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4414, allocations: 25.7 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.4414, allocations: 80.14 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-06/0.4414, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.4414, allocations: 4.125 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4416, allocations: 314.8 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.4416, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-06/0.4416, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.4416, allocations: 75.28 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/0.4417, allocations: 79.27 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.592e-05/0.4417, allocations: 29.7 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.4418, allocations: 79.28 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.4418, allocations: 87.22 kB / 1.37 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-05/0.4419, allocations: 150.6 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.931e-05/0.4419, allocations: 83.22 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.566e-05/0.442, allocations: 150.6 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.4421, allocations: 75.28 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.4421, allocations: 87.16 kB / 1.371 GB, free: 10.12 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.0001207/0.4422, allocations: 269.1 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.4423, allocations: 101 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.4423, allocations: 111.8 kB / 1.371 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.217e-05/0.4424, allocations: 184.3 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-05/0.4425, allocations: 184.2 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.013e-05/0.4426, allocations: 188.2 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.4428, allocations: 409.2 kB / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.4429, allocations: 108.9 kB / 1.372 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.4429, allocations: 101 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.028e-05/0.443, allocations: 176.3 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/0.4431, allocations: 188.1 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.78e-05/0.4432, allocations: 188.3 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.34e-05/0.4432, allocations: 180.2 kB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.4434, allocations: 304.6 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.4435, allocations: 186 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.4436, allocations: 184.2 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.4437, allocations: 108.9 kB / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4438, allocations: 176.3 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.4439, allocations: 105 kB / 1.374 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.4439, allocations: 87.22 kB / 1.374 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4439, allocations: 0 / 1.374 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002768/0.4442, allocations: 96 / 1.374 GB, free: 6.438 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: 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.0004523/0.4447, allocations: 0.809 MB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.275e-05/0.4447, allocations: 0 / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4447, allocations: 4 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.4447, allocations: 11.94 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.4451, allocations: 0.5146 MB / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.4456, allocations: 0.4939 MB / 1.376 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.4459, allocations: 0.6737 MB / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.947e-06/0.4459, allocations: 0 / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.446, allocations: 7.438 kB / 1.377 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.446, allocations: 0 / 1.377 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.4569, allocations: 0.7187 MB / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.4571, allocations: 201.1 kB / 1.378 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/1.904, allocations: 3.938 kB / 1.378 GB, free: 2.988 MB / 0.8698 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