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.246/2.246, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001331/0.001331, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001091/0.001091, allocations: 91.95 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.842e-05/4.859e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3357, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9922/1.328, allocations: 149.4 MB / 1.365 GB, free: 4.633 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/1.328, allocations: 72.92 kB / 1.365 GB, free: 4.594 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001612/1.33, allocations: 0.518 MB / 1.365 GB, free: 4.105 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/1.33, allocations: 0 / 1.365 GB, free: 4.105 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.064e-06/1.33, allocations: 0 / 1.365 GB, free: 4.105 MB / 0.823 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.0004414/1.33, allocations: 330 kB / 1.366 GB, free: 3.742 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/1.33, allocations: 12.03 kB / 1.366 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/1.331, allocations: 30.56 kB / 1.366 GB, free: 3.691 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/1.331, allocations: 4 kB / 1.366 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/1.331, allocations: 178.9 kB / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/1.331, allocations: 0 / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/1.331, allocations: 0 / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/1.331, allocations: 33.39 kB / 1.366 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.331, allocations: 0 / 1.366 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/1.331, allocations: 0 / 1.366 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.331, allocations: 0 / 1.366 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/1.331, allocations: 8 kB / 1.366 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/1.331, allocations: 158.2 kB / 1.366 GB, free: 3.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/1.331, allocations: 25.92 kB / 1.366 GB, free: 3.199 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/1.331, allocations: 4.859 kB / 1.366 GB, free: 3.191 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/1.331, allocations: 0 / 1.366 GB, free: 3.191 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.331, allocations: 42.55 kB / 1.366 GB, free: 3.145 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/1.331, allocations: 4 kB / 1.366 GB, free: 3.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/1.332, allocations: 33.61 kB / 1.366 GB, free: 3.102 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.332, allocations: 51.41 kB / 1.366 GB, free: 3.039 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.332, allocations: 97.81 kB / 1.366 GB, free: 2.941 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/1.332, allocations: 25.7 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/1.332, allocations: 80.14 kB / 1.366 GB, free: 2.828 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/1.332, allocations: 3.984 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/1.332, allocations: 7.875 kB / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.332, allocations: 325.8 kB / 1.367 GB, free: 2.492 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/1.332, allocations: 4 kB / 1.367 GB, free: 2.488 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/1.332, allocations: 3.938 kB / 1.367 GB, free: 2.488 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/1.332, allocations: 5.969 kB / 1.367 GB, free: 2.484 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.332, allocations: 0 / 1.367 GB, free: 2.484 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.934e-05/1.332, allocations: 37.39 kB / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.332, allocations: 4 kB / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.332, allocations: 0 / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.332, allocations: 0 / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/1.333, allocations: 16.08 kB / 1.367 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.333, allocations: 0 / 1.367 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/1.333, allocations: 11.98 kB / 1.367 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/1.333, allocations: 0 / 1.367 GB, free: 2.414 MB / 0.823 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 9.536e-05/1.333, allocations: 104.9 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/1.333, allocations: 4 kB / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/1.333, allocations: 7.062 kB / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.333, allocations: 4 kB / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.333, allocations: 0 / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.333, allocations: 0 / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/1.333, allocations: 157.6 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.333, allocations: 0 / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/1.333, allocations: 16.8 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.333, allocations: 0 / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/1.333, allocations: 0 / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.333, allocations: 0 / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.333, allocations: 0 / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/1.333, allocations: 71.47 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/1.333, allocations: 81.06 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/1.333, allocations: 4.875 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/1.334, allocations: 8.172 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/1.334, allocations: 0 / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.334, allocations: 3.984 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.395e-05/1.334, allocations: 83.31 kB / 1.367 GB, free: 1.801 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/1.334, allocations: 3.938 kB / 1.367 GB, free: 1.797 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002823/1.334, allocations: 4 kB / 1.367 GB, free: 1.793 MB / 0.823 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.0004371/1.334, allocations: 0.6001 MB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/1.335, allocations: 11.59 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.335, allocations: 0 / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/1.335, allocations: 7.938 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/1.335, allocations: 7.938 kB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/1.335, allocations: 78.45 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/1.336, allocations: 0.677 MB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.396e-05/1.336, allocations: 8.125 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/1.336, allocations: 7.438 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of SimCode: time 7.11e-07/1.336, allocations: 0 / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/1.349, allocations: 0.9619 MB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/1.35, allocations: 178.6 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.42/2.77, allocations: 0 / 1.37 GB, free: 15.28 MB / 0.8386 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