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.34/2.34, allocations: 390.5 MB / 398 MB, free: 10.97 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.001079/0.001079, allocations: 168.9 kB / 491.2 MB, free: 1.625 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.736/1.736, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0008836/0.0008836, allocations: 96.91 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.252e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2819, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.366, allocations: 148.4 MB / 1.357 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.367, allocations: 66.48 kB / 1.357 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00119/1.368, allocations: 378.1 kB / 1.358 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.368, allocations: 0 / 1.358 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.368, allocations: 0 / 1.358 GB, free: 33.32 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.0002241/1.368, allocations: 308.8 kB / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.368, allocations: 9.141 kB / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/1.368, allocations: 0 / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/1.368, allocations: 166.8 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.368, allocations: 4.5 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/1.368, allocations: 0 / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.837e-05/1.369, allocations: 4.656 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.861e-05/1.369, allocations: 25.7 kB / 1.358 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.369, allocations: 8.859 kB / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.369, allocations: 3.984 kB / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.369, allocations: 0 / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/1.369, allocations: 362.3 kB / 1.359 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/1.369, allocations: 173 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/1.369, allocations: 83.91 kB / 1.359 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/1.369, allocations: 75.28 kB / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.369, allocations: 109.6 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.369, allocations: 4.594 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.989e-05/1.369, allocations: 26.73 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/1.369, allocations: 59.31 kB / 1.359 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/1.369, allocations: 85 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/1.369, allocations: 26.58 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/1.369, allocations: 84.5 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/1.369, allocations: 0 / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/1.369, allocations: 3.938 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/1.369, allocations: 315.4 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-06/1.369, allocations: 0 / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/1.37, allocations: 7.938 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/1.37, allocations: 76.12 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/1.37, allocations: 77.25 kB / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.99e-05/1.37, allocations: 30.48 kB / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.37, allocations: 82.97 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/1.37, allocations: 75.89 kB / 1.36 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.044e-05/1.37, allocations: 151.5 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.548e-05/1.37, allocations: 83.22 kB / 1.36 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.374e-05/1.37, allocations: 155.1 kB / 1.36 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/1.37, allocations: 76.12 kB / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/1.37, allocations: 82.59 kB / 1.36 GB, free: 30.42 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 0.0001076/1.37, allocations: 256.1 kB / 1.361 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.145e-05/1.37, allocations: 133 kB / 1.361 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/1.37, allocations: 110.2 kB / 1.361 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/1.37, allocations: 113 kB / 1.361 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/1.37, allocations: 181.8 kB / 1.361 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.655e-05/1.37, allocations: 180.2 kB / 1.361 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.833e-05/1.37, allocations: 181.2 kB / 1.362 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/1.371, allocations: 387.4 kB / 1.362 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/1.371, allocations: 104.9 kB / 1.362 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/1.371, allocations: 106.5 kB / 1.362 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.862e-05/1.371, allocations: 176.3 kB / 1.362 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/1.371, allocations: 185.7 kB / 1.363 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.962e-05/1.371, allocations: 179.5 kB / 1.363 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.964e-05/1.371, allocations: 183.1 kB / 1.363 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/1.371, allocations: 305 kB / 1.363 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/1.371, allocations: 182.9 kB / 1.363 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/1.371, allocations: 184 kB / 1.363 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/1.371, allocations: 109.9 kB / 1.364 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/1.371, allocations: 176.3 kB / 1.364 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.371, allocations: 110.4 kB / 1.364 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.671e-05/1.371, allocations: 75.28 kB / 1.364 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.371, allocations: 3.875 kB / 1.364 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002371/1.372, allocations: 0 / 1.364 GB, free: 26.71 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.0004205/1.372, allocations: 0.8107 MB / 1.365 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.837e-05/1.372, allocations: 0 / 1.365 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.372, allocations: 0 / 1.365 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/1.372, allocations: 7.875 kB / 1.365 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/1.372, allocations: 0.5272 MB / 1.365 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/1.373, allocations: 146.1 kB / 1.365 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/1.373, allocations: 0.6717 MB / 1.366 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.655e-06/1.373, allocations: 0 / 1.366 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/1.373, allocations: 11.34 kB / 1.366 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.373, allocations: 0 / 1.366 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/1.394, allocations: 421.9 kB / 1.366 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/1.394, allocations: 164.5 kB / 1.367 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.988, allocations: 1.094 kB / 1.367 GB, free: 24.25 MB / 0.8386 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