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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 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.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.6/2.6, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7824, allocations: 146.8 MB / 0.9812 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.0007945/0.7833, allocations: 329.2 kB / 0.9815 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.7841, allocations: 0.7768 MB / 0.9822 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.7841, allocations: 0 / 0.9822 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.7842, allocations: 4 kB / 0.9823 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.7842, allocations: 3.938 kB / 0.9823 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.82e-05/0.7843, allocations: 0 / 0.9823 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.163e-05/0.7843, allocations: 23.97 kB / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.7844, allocations: 0 / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.065e-05/0.7845, allocations: 11.92 kB / 0.9823 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.94e-05/0.7845, allocations: 0 / 0.9823 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.7845, allocations: 4 kB / 0.9823 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-06/0.7845, allocations: 0 / 0.9823 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.7845, allocations: 4 kB / 0.9823 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.7846, allocations: 33.64 kB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.761e-05/0.7846, allocations: 11.97 kB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7846, allocations: 7.875 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7847, allocations: 0 / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.7847, allocations: 0 / 0.9823 GB, free: 5.055 MB / 0.7325 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.0004079/0.7851, allocations: 341.6 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7851, allocations: 8.031 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.7852, allocations: 30.56 kB / 0.9827 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.7852, allocations: 4 kB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7853, allocations: 163.1 kB / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.7853, allocations: 0 / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.7853, allocations: 0 / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.7855, allocations: 53.62 kB / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.7855, allocations: 0 / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.7855, allocations: 0 / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7856, allocations: 4 kB / 0.9829 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.7857, allocations: 39.91 kB / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.7859, allocations: 153.7 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.786, allocations: 46.58 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.7861, allocations: 20.91 kB / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.7861, allocations: 0 / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.7861, allocations: 30.56 kB / 0.9832 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.7861, allocations: 4 kB / 0.9832 GB, free: 4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003034/0.7864, allocations: 97.53 kB / 0.9833 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.7865, allocations: 55.53 kB / 0.9834 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.7865, allocations: 97.86 kB / 0.9834 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.7866, allocations: 25.7 kB / 0.9835 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.7866, allocations: 84.14 kB / 0.9835 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.7867, allocations: 11.89 kB / 0.9836 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.7867, allocations: 0 / 0.9836 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7868, allocations: 310.8 kB / 0.9839 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.7869, allocations: 19.98 kB / 0.9839 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.7869, allocations: 19.98 kB / 0.9839 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.883e-05/0.787, allocations: 19.98 kB / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.787, allocations: 0 / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001769/0.7872, allocations: 77.66 kB / 0.984 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7872, allocations: 4 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7872, allocations: 4 kB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7873, allocations: 7.891 kB / 0.984 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.7873, allocations: 12.02 kB / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7874, allocations: 4 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.7874, allocations: 4 kB / 0.984 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.7874, allocations: 0 / 0.984 GB, free: 3.109 MB / 0.7325 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.315e-05/0.7875, allocations: 113.8 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-06/0.7875, allocations: 3.938 kB / 0.9841 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.7875, allocations: 7.125 kB / 0.9841 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.7875, allocations: 0 / 0.9841 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.7876, allocations: 7.953 kB / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.7876, allocations: 0 / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.857e-05/0.7877, allocations: 149.7 kB / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7877, allocations: 0 / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.7877, allocations: 12.17 kB / 0.9843 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7877, allocations: 0 / 0.9843 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.7878, allocations: 4 kB / 0.9843 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.7878, allocations: 0 / 0.9843 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7878, allocations: 3.984 kB / 0.9843 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.788, allocations: 108.9 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.788, allocations: 77.11 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.788, allocations: 4 kB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.7881, allocations: 16.02 kB / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.7881, allocations: 0 / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.7881, allocations: 0 / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.7882, allocations: 87.23 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7882, allocations: 0 / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001719/0.7884, allocations: 4 kB / 0.9846 GB, free: 2.43 MB / 0.7325 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.0005134/0.7889, allocations: 0.6319 MB / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.7891, allocations: 44 kB / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7891, allocations: 0 / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.7892, allocations: 19.98 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.7894, allocations: 12.06 kB / 0.9853 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.7897, allocations: 124.6 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.79, allocations: 0.677 MB / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.79, allocations: 0 / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.7901, allocations: 11.44 kB / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7901, allocations: 0 / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.8009, allocations: 0.9707 MB / 0.987 GB, free: 0 / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.8012, allocations: 200.9 kB / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.578, allocations: 3.938 kB / 0.9872 GB, free: 15.76 MB / 0.7481 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) Environment - environmentSimulation: 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