Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001044/0.001044, allocations: 176.8 kB / 492.3 MB, free: 0.6055 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.636/1.636, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009325/0.0009324, allocations: 88.02 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.862e-05/4.864e-05, allocations: 8 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 142.4 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8981/1.181, allocations: 148.3 MB / 1.357 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.182, allocations: 68.2 kB / 1.357 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001075/1.183, allocations: 369.3 kB / 1.358 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.183, allocations: 0 / 1.358 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.132e-06/1.183, allocations: 0.5 kB / 1.358 GB, free: 34.73 MB / 0.8386 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.0001753/1.183, allocations: 313.2 kB / 1.358 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.183, allocations: 8.266 kB / 1.358 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/1.183, allocations: 30.56 kB / 1.358 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/1.183, allocations: 4.438 kB / 1.358 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/1.183, allocations: 174.7 kB / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/1.183, allocations: 0 / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/1.183, allocations: 0 / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.196e-05/1.183, allocations: 31.27 kB / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/1.183, allocations: 0 / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/1.183, allocations: 0 / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/1.183, allocations: 0 / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/1.183, allocations: 4.125 kB / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/1.184, allocations: 398 kB / 1.359 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/1.184, allocations: 165.8 kB / 1.359 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/1.184, allocations: 83.83 kB / 1.359 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/1.184, allocations: 75.28 kB / 1.359 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.184, allocations: 110.5 kB / 1.359 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/1.184, allocations: 0 / 1.359 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.944e-05/1.184, allocations: 31.22 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/1.184, allocations: 130.5 kB / 1.359 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/1.184, allocations: 89.64 kB / 1.359 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/1.184, allocations: 25.7 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/1.184, allocations: 80.14 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/1.184, allocations: 3.844 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-07/1.184, allocations: 4.125 kB / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.184, allocations: 318.8 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-06/1.184, allocations: 0 / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-06/1.184, allocations: 1.641 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/1.184, allocations: 75.94 kB / 1.36 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.184, allocations: 75.28 kB / 1.36 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.669e-05/1.184, allocations: 34.22 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/1.184, allocations: 81.23 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/1.184, allocations: 79.28 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.236e-05/1.185, allocations: 154.9 kB / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/1.185, allocations: 82.36 kB / 1.36 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-05/1.185, allocations: 155.1 kB / 1.36 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/1.185, allocations: 80.02 kB / 1.361 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.185, allocations: 79.12 kB / 1.361 GB, free: 31.68 MB / 0.8386 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 () * 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 8.333e-05/1.185, allocations: 262.5 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/1.185, allocations: 105.6 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/1.185, allocations: 116.3 kB / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/1.185, allocations: 181 kB / 1.361 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.45e-05/1.185, allocations: 186.2 kB / 1.361 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.17e-05/1.185, allocations: 181.1 kB / 1.362 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.185, allocations: 406.6 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.185, allocations: 105.6 kB / 1.362 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/1.185, allocations: 101.7 kB / 1.362 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.424e-05/1.185, allocations: 184.7 kB / 1.362 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/1.185, allocations: 177 kB / 1.362 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-05/1.185, allocations: 180.9 kB / 1.363 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-05/1.185, allocations: 184.5 kB / 1.363 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/1.186, allocations: 306.6 kB / 1.363 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/1.186, allocations: 186.7 kB / 1.363 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/1.186, allocations: 181.1 kB / 1.363 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/1.186, allocations: 113.4 kB / 1.364 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/1.186, allocations: 180.9 kB / 1.364 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/1.186, allocations: 108.1 kB / 1.364 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.452e-05/1.186, allocations: 79.55 kB / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.186, allocations: 3.656 kB / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002467/1.186, allocations: 96 / 1.364 GB, free: 28.07 MB / 0.8386 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 () * 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.0004482/1.187, allocations: 0.8145 MB / 1.365 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.459e-05/1.187, allocations: 3.938 kB / 1.365 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/1.187, allocations: 0 / 1.365 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/1.187, allocations: 0 / 1.365 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/1.187, allocations: 0.5191 MB / 1.365 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/1.187, allocations: 146.3 kB / 1.365 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/1.188, allocations: 0.6759 MB / 1.366 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.713e-06/1.188, allocations: 0 / 1.366 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/1.188, allocations: 7.438 kB / 1.366 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.188, allocations: 4 kB / 1.366 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/1.198, allocations: 0.7256 MB / 1.367 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.198, allocations: 170.1 kB / 1.367 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/2.616, allocations: 0 / 1.367 GB, free: 25.5 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat