Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.206/2.206, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001129/0.001129, allocations: 188.8 kB / 487.4 MB, free: 5.07 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.637/1.637, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 103.8 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.741e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2873, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9771/1.264, allocations: 148.1 MB / 1.351 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.265, allocations: 71.67 kB / 1.351 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003171/1.268, allocations: 0.7922 MB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.053e-06/1.268, allocations: 0 / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.268, allocations: 1.312 kB / 1.352 GB, free: 33.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000434/1.268, allocations: 363.4 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.268, allocations: 9.062 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.269, allocations: 6.469 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/1.269, allocations: 166.8 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.269, allocations: 4 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/1.269, allocations: 2.562 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/1.269, allocations: 18.14 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.917e-05/1.269, allocations: 54.25 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.269, allocations: 0 / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.269, allocations: 2.062 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.269, allocations: 0.7031 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/1.27, allocations: 286.8 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/1.27, allocations: 31.38 kB / 1.352 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/1.27, allocations: 14.58 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/1.27, allocations: 0.6094 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/1.27, allocations: 41.31 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.27, allocations: 0 / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001784/1.27, allocations: 52.34 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/1.27, allocations: 51.92 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/1.27, allocations: 99.25 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/1.27, allocations: 25.7 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/1.27, allocations: 85.69 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/1.27, allocations: 10.36 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/1.27, allocations: 4 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.27, allocations: 320.7 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/1.27, allocations: 10.09 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/1.27, allocations: 9.266 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/1.27, allocations: 8.359 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.27, allocations: 0 / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.26e-05/1.271, allocations: 53.61 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.271, allocations: 5.156 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.271, allocations: 1.344 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.271, allocations: 5.25 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/1.271, allocations: 21.33 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/1.271, allocations: 0 / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/1.271, allocations: 16.59 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.271, allocations: 4.219 kB / 1.353 GB, free: 32.21 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 (3): * Single equations (assignments): 3 * 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.127e-05/1.271, allocations: 109.5 kB / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.267e-05/1.271, allocations: 53.47 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/1.271, allocations: 3.344 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/1.271, allocations: 59.73 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/1.271, allocations: 1.203 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.271, allocations: 1.281 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/1.271, allocations: 0.7031 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/1.271, allocations: 147.3 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.271, allocations: 0.7969 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.272, allocations: 24.61 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.272, allocations: 1.562 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.272, allocations: 0.6562 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.272, allocations: 0 / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/1.272, allocations: 1.312 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/1.272, allocations: 160.4 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/1.272, allocations: 86.88 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/1.272, allocations: 1.797 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.272, allocations: 15.38 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/1.272, allocations: 4.953 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/1.272, allocations: 1.219 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.483e-05/1.272, allocations: 93.2 kB / 1.354 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.272, allocations: 0 / 1.354 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002061/1.272, allocations: 14.44 kB / 1.354 GB, free: 31.52 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 (3): * Single equations (assignments): 3 * 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.0003694/1.273, allocations: 0.6866 MB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.074e-05/1.273, allocations: 26.86 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.273, allocations: 0 / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/1.273, allocations: 11.69 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/1.273, allocations: 9.078 kB / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/1.273, allocations: 98.19 kB / 1.355 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/1.274, allocations: 0.6826 MB / 1.355 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.374e-05/1.274, allocations: 3.812 kB / 1.355 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/1.274, allocations: 12.52 kB / 1.355 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.274, allocations: 0 / 1.355 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.293, allocations: 0.9547 MB / 1.356 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/1.294, allocations: 145.3 kB / 1.357 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/2.697, allocations: 1.312 kB / 1.357 GB, free: 29.8 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat does not exist to compare? outputFormat=mat