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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009635, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009444/0.0009445, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8298/0.8302, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.0008911/0.8311, allocations: 334.3 kB / 0.9539 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.8322, allocations: 0.7819 MB / 0.9547 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.8322, allocations: 4 kB / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.8322, allocations: 0 / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.8323, allocations: 5.344 kB / 0.9547 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.8324, allocations: 0 / 0.9547 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.8324, allocations: 19.94 kB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.8325, allocations: 1.156 kB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.8326, allocations: 6.281 kB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.8326, allocations: 10.55 kB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.8326, allocations: 1.562 kB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-06/0.8326, allocations: 0 / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.8327, allocations: 4 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.8327, allocations: 27.67 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.51e-05/0.8328, allocations: 13.84 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8328, allocations: 0 / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8328, allocations: 1.438 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.8328, allocations: 0 / 0.9548 GB, free: 7.121 MB / 0.7169 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.0003884/0.8332, allocations: 330.4 kB / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.8333, allocations: 13.19 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.8333, allocations: 34.55 kB / 0.9551 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.8333, allocations: 5.078 kB / 0.9552 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/0.8334, allocations: 164.3 kB / 0.9553 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.8334, allocations: 5.016 kB / 0.9553 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.8335, allocations: 0 / 0.9553 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.8336, allocations: 52.62 kB / 0.9554 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8337, allocations: 7.984 kB / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.8337, allocations: 0 / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.8337, allocations: 0 / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.8338, allocations: 42.05 kB / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.834, allocations: 153 kB / 0.9556 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.8341, allocations: 35.94 kB / 0.9556 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.8341, allocations: 1.219 kB / 0.9556 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.8342, allocations: 31.69 kB / 0.9556 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.8342, allocations: 3.938 kB / 0.9556 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003352/0.8345, allocations: 94.33 kB / 0.9557 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.8345, allocations: 52.5 kB / 0.9558 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.8346, allocations: 102 kB / 0.9559 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.8346, allocations: 31.2 kB / 0.9559 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.8346, allocations: 84.14 kB / 0.956 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.8347, allocations: 5.25 kB / 0.956 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.8347, allocations: 0 / 0.956 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.8347, allocations: 316.3 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.8348, allocations: 20.55 kB / 0.9563 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.8349, allocations: 25.5 kB / 0.9563 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.835, allocations: 16.55 kB / 0.9563 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.835, allocations: 5.094 kB / 0.9563 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001798/0.8352, allocations: 71.11 kB / 0.9564 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8352, allocations: 9.906 kB / 0.9564 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8352, allocations: 0 / 0.9564 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8352, allocations: 1.281 kB / 0.9564 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.8353, allocations: 10.23 kB / 0.9564 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8353, allocations: 1.562 kB / 0.9564 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.8354, allocations: 13.2 kB / 0.9564 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.8354, allocations: 0.7812 kB / 0.9564 GB, free: 5.422 MB / 0.7169 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 5.121e-05/0.8354, allocations: 115.2 kB / 0.9566 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.8354, allocations: 1.344 kB / 0.9566 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.8355, allocations: 3.844 kB / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8355, allocations: 0 / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8355, allocations: 5.438 kB / 0.9566 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.8355, allocations: 0 / 0.9566 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.424e-05/0.8356, allocations: 164.6 kB / 0.9567 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8356, allocations: 0 / 0.9567 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.8356, allocations: 7.25 kB / 0.9567 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8356, allocations: 0 / 0.9567 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.8356, allocations: 1.531 kB / 0.9567 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8357, allocations: 3.938 kB / 0.9567 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8357, allocations: 3.984 kB / 0.9567 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.8359, allocations: 95.25 kB / 0.9568 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.8359, allocations: 81.83 kB / 0.9569 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.8359, allocations: 4.984 kB / 0.9569 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.8359, allocations: 5.688 kB / 0.9569 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.836, allocations: 5.531 kB / 0.9569 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.836, allocations: 5.344 kB / 0.9569 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.483e-05/0.836, allocations: 90.06 kB / 0.957 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.836, allocations: 0 / 0.957 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001735/0.8362, allocations: 2.281 kB / 0.957 GB, free: 4.801 MB / 0.7169 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.0003777/0.8366, allocations: 0.6338 MB / 0.9576 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.8368, allocations: 43.25 kB / 0.9577 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8368, allocations: 0 / 0.9577 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.8369, allocations: 26.34 kB / 0.9577 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.8371, allocations: 6.406 kB / 0.9577 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.8375, allocations: 123.1 kB / 0.9578 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.8376, allocations: 0.6814 MB / 0.9585 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.8376, allocations: 0 / 0.9585 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.8377, allocations: 8.906 kB / 0.9585 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8377, allocations: 3.938 kB / 0.9585 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.8484, allocations: 0.9455 MB / 0.9594 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.8486, allocations: 197.8 kB / 0.9596 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.413, allocations: 0 / 0.9596 GB, free: 2.629 MB / 0.7169 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