Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",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.322/2.322, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.0009886/0.0009886, allocations: 180.1 kB / 492.3 MB, free: 0.6523 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.668/1.668, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.001106/0.001106, allocations: 106.5 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.25e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2891, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9944/1.284, allocations: 148.6 MB / 1.358 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/1.284, allocations: 66.27 kB / 1.358 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001538/1.285, allocations: 0.5182 MB / 1.358 GB, free: 34.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/1.285, allocations: 0 / 1.358 GB, free: 34.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.285, allocations: 0 / 1.358 GB, free: 34.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002353/1.286, allocations: 335.8 kB / 1.359 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.286, allocations: 11.75 kB / 1.359 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/1.286, allocations: 31.36 kB / 1.359 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/1.286, allocations: 4 kB / 1.359 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/1.286, allocations: 172.5 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/1.286, allocations: 0.7969 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/1.286, allocations: 3.938 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/1.286, allocations: 30 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/1.286, allocations: 0.6562 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/1.286, allocations: 0 / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.286, allocations: 3.781 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/1.286, allocations: 3.906 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/1.286, allocations: 163.3 kB / 1.359 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/1.286, allocations: 25.94 kB / 1.359 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/1.286, allocations: 8.766 kB / 1.359 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/1.286, allocations: 0 / 1.359 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/1.286, allocations: 31.31 kB / 1.359 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/1.286, allocations: 0 / 1.359 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.798e-05/1.286, allocations: 41.36 kB / 1.359 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/1.286, allocations: 60.12 kB / 1.359 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/1.286, allocations: 92.83 kB / 1.359 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/1.286, allocations: 25.7 kB / 1.359 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/1.287, allocations: 80.94 kB / 1.359 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/1.287, allocations: 3.844 kB / 1.359 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/1.287, allocations: 0 / 1.359 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/1.287, allocations: 315.8 kB / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/1.287, allocations: 3.938 kB / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/1.287, allocations: 12.86 kB / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.404e-05/1.287, allocations: 7.766 kB / 1.36 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.287, allocations: 0 / 1.36 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.982e-05/1.287, allocations: 34.3 kB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.287, allocations: 9 kB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/1.287, allocations: 0 / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.287, allocations: 0.7969 kB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/1.287, allocations: 14.3 kB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.287, allocations: 4.094 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/1.287, allocations: 11.64 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/1.287, allocations: 0 / 1.36 GB, free: 33.24 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 (1): * Single equations (assignments): 1 * 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 4.542e-05/1.287, allocations: 108.3 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/1.287, allocations: 3.906 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/1.287, allocations: 7.891 kB / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.287, allocations: 0 / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.287, allocations: 2.109 kB / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/1.287, allocations: 4 kB / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.949e-05/1.287, allocations: 153.9 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.287, allocations: 3.953 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/1.287, allocations: 9.969 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.287, allocations: 0.7969 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/1.287, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.287, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.287, allocations: 0 / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.003e-05/1.287, allocations: 67.14 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/1.287, allocations: 85.84 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/1.287, allocations: 4.594 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/1.287, allocations: 10.02 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/1.287, allocations: 5.203 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/1.287, allocations: 3.812 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.006e-05/1.287, allocations: 82.23 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.287, allocations: 4.031 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001754/1.288, allocations: 0 / 1.36 GB, free: 32.68 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 (1): * Single equations (assignments): 1 * 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.0002656/1.288, allocations: 0.5985 MB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.972e-05/1.288, allocations: 14.78 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.288, allocations: 4.094 kB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/1.288, allocations: 7.156 kB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/1.288, allocations: 1.547 kB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/1.288, allocations: 81.16 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.289, allocations: 0.6802 MB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.272e-05/1.289, allocations: 0.6562 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/1.289, allocations: 7.438 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.289, allocations: 4.062 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/1.301, allocations: 0.9483 MB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.301, allocations: 175 kB / 1.363 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.791, allocations: 0 / 1.363 GB, free: 30.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat does not exist to compare? outputFormat=mat