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.265/2.265, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.0009953/0.0009952, allocations: 169.2 kB / 498.1 MB, free: 5.766 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.449/1.449, allocations: 223.2 MB / 0.7948 GB, free: 18.01 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.0009335/0.0009333, allocations: 100.4 kB / 0.9346 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 13.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.277, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.4518, allocations: 148.7 MB / 1.368 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4521, allocations: 71.95 kB / 1.368 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001259/0.4534, allocations: 0.5171 MB / 1.369 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4534, allocations: 0 / 1.369 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4535, allocations: 4 kB / 1.369 GB, free: 12.83 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.0003642/0.4538, allocations: 339.3 kB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4539, allocations: 12.02 kB / 1.369 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.4539, allocations: 34.5 kB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.454, allocations: 8 kB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4541, allocations: 163 kB / 1.369 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4541, allocations: 4 kB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4541, allocations: 0 / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4543, allocations: 52.41 kB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4543, allocations: 0 / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4543, allocations: 0 / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4543, allocations: 0 / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.4545, allocations: 39.97 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.4547, allocations: 157.6 kB / 1.37 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4548, allocations: 42.53 kB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.4548, allocations: 4 kB / 1.37 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4549, allocations: 30.56 kB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.4549, allocations: 0 / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003376/0.4552, allocations: 89.8 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.4553, allocations: 55.41 kB / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.4554, allocations: 104.9 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.4554, allocations: 25.7 kB / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.4554, allocations: 80.14 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4555, allocations: 3.906 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.4555, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4556, allocations: 318.8 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.4557, allocations: 23.98 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.4557, allocations: 19.97 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.748e-05/0.4558, allocations: 20.05 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4558, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001819/0.456, allocations: 69.67 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.4561, allocations: 4 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4561, allocations: 4.031 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4561, allocations: 3.938 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.4562, allocations: 11.98 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.4562, allocations: 0 / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.4563, allocations: 15.92 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4563, allocations: 3.938 kB / 1.37 GB, free: 10.91 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 0.0001056/0.4564, allocations: 117.8 kB / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.4564, allocations: 0 / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.4565, allocations: 7.125 kB / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4565, allocations: 0 / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4565, allocations: 0 / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4565, allocations: 0 / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.4566, allocations: 161.6 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4566, allocations: 0 / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.4567, allocations: 8 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4567, allocations: 0 / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.4567, allocations: 4 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4567, allocations: 3.984 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4567, allocations: 3.984 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.457, allocations: 93.11 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.4571, allocations: 81.06 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4571, allocations: 3.984 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.4571, allocations: 8 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.4572, allocations: 7.938 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4572, allocations: 4 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.4573, allocations: 83.27 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4573, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00018/0.4575, allocations: 4.031 kB / 1.371 GB, free: 10.23 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.000677/0.4582, allocations: 0.648 MB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.4584, allocations: 35.97 kB / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4584, allocations: 0 / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.4585, allocations: 32 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.4587, allocations: 4 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.4592, allocations: 122.6 kB / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4596, allocations: 0.677 MB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.4596, allocations: 4.062 kB / 1.372 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.4597, allocations: 7.438 kB / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of SimCode: time 6.32e-07/0.4597, allocations: 0 / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.4719, allocations: 0.9496 MB / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.4722, allocations: 195.2 kB / 1.374 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.958, allocations: 4 kB / 1.374 GB, free: 7.551 MB / 0.8698 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