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.316/2.316, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001134/0.001135, allocations: 184.7 kB / 487.4 MB, free: 5.062 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.594/1.594, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009459/0.0009458, allocations: 92.7 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.349e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3104, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.349, allocations: 147.9 MB / 1.351 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/1.35, allocations: 72.25 kB / 1.351 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001834/1.351, allocations: 0.5184 MB / 1.351 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.351, allocations: 0 / 1.351 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.351, allocations: 0 / 1.351 GB, free: 33.7 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.0003094/1.352, allocations: 332.5 kB / 1.351 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.352, allocations: 11.44 kB / 1.351 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/1.352, allocations: 0.75 kB / 1.351 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/1.352, allocations: 177.2 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/1.352, allocations: 0 / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/1.352, allocations: 0 / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.059e-05/1.352, allocations: 7.219 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.445e-05/1.352, allocations: 38.69 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.352, allocations: 0 / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.352, allocations: 3.812 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.352, allocations: 3.938 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/1.352, allocations: 134.1 kB / 1.352 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/1.352, allocations: 21.86 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/1.352, allocations: 9.234 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/1.352, allocations: 4 kB / 1.352 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/1.352, allocations: 31.22 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/1.352, allocations: 0 / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000128/1.353, allocations: 45.33 kB / 1.352 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/1.353, allocations: 52.06 kB / 1.352 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/1.353, allocations: 89.7 kB / 1.352 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/1.353, allocations: 25.7 kB / 1.352 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/1.353, allocations: 88.84 kB / 1.352 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/1.353, allocations: 0 / 1.352 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/1.353, allocations: 0 / 1.352 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.353, allocations: 315.6 kB / 1.352 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/1.353, allocations: 3.438 kB / 1.352 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-06/1.353, allocations: 3.875 kB / 1.352 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.487e-05/1.353, allocations: 0.6562 kB / 1.352 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.353, allocations: 1.531 kB / 1.352 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.233e-05/1.353, allocations: 42.19 kB / 1.352 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.353, allocations: 7.938 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/1.353, allocations: 0 / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.353, allocations: 4.672 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/1.353, allocations: 10.06 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.353, allocations: 3.875 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/1.353, allocations: 7.656 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.353, allocations: 0 / 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 (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 6.343e-05/1.353, allocations: 110.5 kB / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.379e-05/1.353, allocations: 42.84 kB / 1.353 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/1.353, allocations: 3.906 kB / 1.353 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/1.353, allocations: 4.359 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.353, allocations: 0.7031 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.353, allocations: 1.422 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/1.353, allocations: 0 / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.181e-05/1.354, allocations: 133.9 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.354, allocations: 0.7969 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/1.354, allocations: 19.83 kB / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.354, allocations: 0.6562 kB / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/1.354, allocations: 0 / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.354, allocations: 0 / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.354, allocations: 0.7031 kB / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.127e-05/1.354, allocations: 61.73 kB / 1.353 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/1.354, allocations: 81.66 kB / 1.353 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.354, allocations: 12.25 kB / 1.353 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/1.354, allocations: 6.25 kB / 1.353 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/1.354, allocations: 6.844 kB / 1.353 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/1.354, allocations: 192 / 1.353 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.069e-05/1.354, allocations: 86.31 kB / 1.353 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.354, allocations: 0 / 1.353 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001592/1.354, allocations: 3.938 kB / 1.353 GB, free: 31.64 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.0003125/1.354, allocations: 0.5931 MB / 1.354 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.207e-05/1.354, allocations: 12.78 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/1.354, allocations: 0 / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/1.355, allocations: 3.203 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.355, allocations: 7.328 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/1.355, allocations: 85.48 kB / 1.354 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/1.355, allocations: 0.6773 MB / 1.354 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.465e-05/1.355, allocations: 0.5156 kB / 1.354 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/1.355, allocations: 8.094 kB / 1.354 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.355, allocations: 1.312 kB / 1.354 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/1.374, allocations: 0.65 MB / 1.355 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.374, allocations: 152.9 kB / 1.355 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.857, allocations: 0 / 1.355 GB, free: 30 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