Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.284/2.284, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009958/0.0009956, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.644/1.644, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009753/0.0009755, allocations: 98.73 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.396e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.355, allocations: 148.1 MB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.355, allocations: 71.34 kB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004438/1.36, allocations: 1.392 MB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.36, allocations: 0 / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.36, allocations: 1.344 kB / 1.352 GB, free: 33.78 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.0004407/1.36, allocations: 364 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.36, allocations: 9.156 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/1.36, allocations: 7.016 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/1.36, allocations: 170.1 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/1.36, allocations: 1.938 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/1.36, allocations: 5.281 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.29e-05/1.36, allocations: 22.94 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/1.36, allocations: 43.38 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.36, allocations: 0 / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.361, allocations: 0 / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.361, allocations: 4.438 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/1.361, allocations: 283.9 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/1.361, allocations: 34.7 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/1.361, allocations: 19.91 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/1.361, allocations: 0.5625 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/1.361, allocations: 35.17 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.361, allocations: 3.938 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001749/1.361, allocations: 50.8 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/1.361, allocations: 51.92 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/1.362, allocations: 98.33 kB / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/1.362, allocations: 25.7 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/1.362, allocations: 88.83 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/1.362, allocations: 16.25 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/1.362, allocations: 0 / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.362, allocations: 323.3 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/1.362, allocations: 8.062 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/1.362, allocations: 13 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/1.362, allocations: 5.078 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.362, allocations: 1.344 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.998e-05/1.362, allocations: 48.86 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.362, allocations: 5.125 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.362, allocations: 1.312 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.362, allocations: 0.5156 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/1.362, allocations: 24.88 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.362, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/1.362, allocations: 21.09 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/1.362, allocations: 0 / 1.354 GB, free: 32.18 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 6.994e-05/1.362, allocations: 106.9 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.046e-05/1.362, allocations: 61.73 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/1.362, allocations: 3.375 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/1.363, allocations: 8.141 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/1.363, allocations: 1.188 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.363, allocations: 0 / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.363, allocations: 1.859 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/1.363, allocations: 150.1 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.363, allocations: 0 / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/1.363, allocations: 25.27 kB / 1.354 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.363, allocations: 0 / 1.354 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.363, allocations: 2.391 kB / 1.354 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.363, allocations: 0 / 1.354 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.363, allocations: 3.906 kB / 1.354 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/1.363, allocations: 145.2 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/1.363, allocations: 85.48 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/1.363, allocations: 0.75 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.363, allocations: 20.45 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/1.363, allocations: 6.641 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/1.363, allocations: 2.969 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.935e-05/1.363, allocations: 87.94 kB / 1.354 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.363, allocations: 3.938 kB / 1.355 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002061/1.364, allocations: 7.688 kB / 1.355 GB, free: 31.53 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.0004142/1.364, allocations: 0.688 MB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/1.364, allocations: 26.72 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.364, allocations: 0 / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/1.364, allocations: 16 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.000198/1.364, allocations: 1.734 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/1.365, allocations: 103.4 kB / 1.355 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/1.365, allocations: 0.6857 MB / 1.356 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.974e-05/1.365, allocations: 0.6562 kB / 1.356 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/1.365, allocations: 19.06 kB / 1.356 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.365, allocations: 0 / 1.356 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/1.384, allocations: 0.9993 MB / 1.357 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.384, allocations: 142.2 kB / 1.357 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/2.836, allocations: 3.938 kB / 1.357 GB, free: 29.79 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat does not exist to compare? outputFormat=mat