Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Ramp,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.312/2.312, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001193/0.001193, allocations: 191.9 kB / 0.4902 GB, free: 2.234 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.512/1.512, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009947/0.0009947, allocations: 100.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005455, allocations: 21.28 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3259, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.5135, allocations: 149.5 MB / 1.375 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5139, allocations: 71.95 kB / 1.375 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001265/0.5152, allocations: 0.524 MB / 1.376 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5152, allocations: 0 / 1.376 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.5152, allocations: 0 / 1.376 GB, free: 3.359 MB / 0.8698 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.0004141/0.5156, allocations: 339.8 kB / 1.376 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5157, allocations: 12.56 kB / 1.376 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.5157, allocations: 34.55 kB / 1.376 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.5158, allocations: 3.938 kB / 1.376 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.5159, allocations: 166.9 kB / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.5159, allocations: 0 / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.5159, allocations: 4 kB / 1.376 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.5161, allocations: 50.55 kB / 1.376 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5161, allocations: 3.984 kB / 1.376 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.5161, allocations: 0 / 1.376 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5162, allocations: 0 / 1.376 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.5163, allocations: 39.91 kB / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.5165, allocations: 157.6 kB / 1.377 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.5167, allocations: 38.59 kB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.5167, allocations: 0 / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5167, allocations: 30.56 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 2.394e-06/0.5167, allocations: 4 kB / 1.377 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003286/0.5171, allocations: 93.64 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.5171, allocations: 51.53 kB / 1.377 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.5172, allocations: 101 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5172, allocations: 29.64 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.5173, allocations: 80.14 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.5173, allocations: 0 / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.5173, allocations: 0 / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5174, allocations: 322.8 kB / 1.377 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.5175, allocations: 19.98 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.5176, allocations: 15.98 kB / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.5177, allocations: 27.97 kB / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5177, allocations: 0 / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001976/0.5179, allocations: 69.67 kB / 1.377 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5179, allocations: 4 kB / 1.377 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5179, allocations: 192 / 1.377 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.518, allocations: 4 kB / 1.377 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.5181, allocations: 11.98 kB / 1.377 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.5181, allocations: 4.031 kB / 1.377 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.5181, allocations: 19.88 kB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.5182, allocations: 0 / 1.378 GB, free: 1.438 MB / 0.8698 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 () * Number of clocked 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 7.688e-05/0.5182, allocations: 113.8 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.5183, allocations: 0 / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.5183, allocations: 7.062 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5183, allocations: 0 / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5183, allocations: 4 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5183, allocations: 0 / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.5184, allocations: 161.6 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5184, allocations: 0 / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.5185, allocations: 8 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5185, allocations: 0 / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.5185, allocations: 0 / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5185, allocations: 0 / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5185, allocations: 4 kB / 1.378 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.5187, allocations: 101 kB / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.5188, allocations: 81.06 kB / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.5188, allocations: 0 / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.5189, allocations: 20.02 kB / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.5189, allocations: 0 / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5189, allocations: 0 / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.519, allocations: 83.27 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.519, allocations: 0 / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001649/0.5191, allocations: 4 kB / 1.378 GB, free: 0.7695 MB / 0.8698 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 () * Number of clocked 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.0005172/0.5197, allocations: 0.6327 MB / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.5199, allocations: 51.88 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5199, allocations: 1.625 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.52, allocations: 19.98 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.5202, allocations: 9.141 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.5205, allocations: 129.2 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5208, allocations: 0.677 MB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.5208, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.5209, allocations: 11.44 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5209, allocations: 0 / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.5348, allocations: 0.9544 MB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003037/0.5351, allocations: 197.5 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.038, allocations: 0 / 1.381 GB, free: 14.11 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat does not exist to compare? outputFormat=mat