Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_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.614/2.614, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001216/0.001216, allocations: 179.9 kB / 0.4901 GB, free: 2.23 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.671/1.671, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009816/0.0009808, allocations: 98.33 kB / 0.9396 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004612, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3198, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.5143, allocations: 149.1 MB / 1.375 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5146, allocations: 71.97 kB / 1.375 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.000612/0.5152, allocations: 372.8 kB / 1.375 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.055e-06/0.5153, allocations: 0 / 1.375 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.5153, allocations: 0 / 1.375 GB, free: 3.777 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.0003339/0.5156, allocations: 315.3 kB / 1.376 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.392e-05/0.5157, allocations: 12.62 kB / 1.376 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.5157, allocations: 34.5 kB / 1.376 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.5158, allocations: 0 / 1.376 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.5159, allocations: 171 kB / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.516, allocations: 0 / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.516, allocations: 0 / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5161, allocations: 33.69 kB / 1.376 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5161, allocations: 0 / 1.376 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5161, allocations: 0 / 1.376 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5161, allocations: 0 / 1.376 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.5162, allocations: 7.938 kB / 1.376 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.5166, allocations: 388.3 kB / 1.376 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.5167, allocations: 169.2 kB / 1.376 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.5167, allocations: 75.28 kB / 1.377 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.5168, allocations: 105.8 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5168, allocations: 3.938 kB / 1.377 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.117e-05/0.5169, allocations: 29.7 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.517, allocations: 126.7 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.5171, allocations: 96.95 kB / 1.377 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5171, allocations: 25.7 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.5172, allocations: 80.14 kB / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.5172, allocations: 0 / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.5172, allocations: 0 / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.5174, allocations: 320.5 kB / 1.377 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.5174, allocations: 4.125 kB / 1.377 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.5174, allocations: 0 / 1.377 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.5175, allocations: 75.28 kB / 1.377 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/0.5175, allocations: 75.28 kB / 1.377 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.234e-05/0.5176, allocations: 33.64 kB / 1.377 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.5177, allocations: 79.28 kB / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/0.5177, allocations: 75.28 kB / 1.378 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.796e-05/0.5178, allocations: 162.5 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.17e-05/0.5178, allocations: 79.28 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.09e-05/0.5179, allocations: 154.5 kB / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.518, allocations: 79.22 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.518, allocations: 83.23 kB / 1.378 GB, free: 0.7148 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.0001679/0.5182, allocations: 260.4 kB / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.5183, allocations: 116.9 kB / 1.378 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.5184, allocations: 107.9 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-05/0.5185, allocations: 184.2 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001175/0.5186, allocations: 180.2 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.729e-05/0.5187, allocations: 176.3 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.5189, allocations: 413.1 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/0.519, allocations: 113 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.519, allocations: 101 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.905e-05/0.5191, allocations: 184.1 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/0.5192, allocations: 176.3 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-05/0.5193, allocations: 188.2 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.368e-05/0.5194, allocations: 184.3 kB / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.5196, allocations: 308 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.5197, allocations: 178.1 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.5198, allocations: 196.2 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.5199, allocations: 109 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.52, allocations: 180.2 kB / 1.381 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.52, allocations: 101 kB / 1.381 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.5201, allocations: 79.28 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5201, allocations: 0 / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002766/0.5204, allocations: 0 / 1.382 GB, free: 13.04 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.0005253/0.5209, allocations: 0.8134 MB / 1.382 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.684e-05/0.521, allocations: 4 kB / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.521, allocations: 0 / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.155e-06/0.521, allocations: 0 / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.5214, allocations: 0.5241 MB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.5222, allocations: 0.5017 MB / 1.383 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5225, allocations: 0.6692 MB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.5226, allocations: 8.094 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.5226, allocations: 7.438 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of SimCode: time 7.103e-06/0.5226, allocations: 0 / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.536, allocations: 0.7275 MB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.5363, allocations: 196.6 kB / 1.385 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.035, allocations: 0 / 1.385 GB, free: 9.605 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat