Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_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.001076/0.001076, allocations: 91.61 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.001318/0.001318, 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.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.593/2.593, allocations: 409.4 MB / 0.684 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003822, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8423, allocations: 146.8 MB / 0.9812 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp): time 0.001544/0.8438, allocations: 0.9369 MB / 0.9821 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.8464, allocations: 1.659 MB / 0.9837 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.8468, allocations: 4 kB / 0.9837 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.652e-05/0.8469, allocations: 19.8 kB / 0.9837 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.8473, allocations: 59.55 kB / 0.9838 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.8494, allocations: 0.5663 MB / 0.9843 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.8505, allocations: 0.6002 MB / 0.9849 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.8507, allocations: 60.7 kB / 0.985 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.8511, allocations: 243.4 kB / 0.9852 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.8514, allocations: 203.2 kB / 0.9854 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.8515, allocations: 32 kB / 0.9854 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.8517, allocations: 47.97 kB / 0.9855 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.8518, allocations: 55.75 kB / 0.9855 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.8519, allocations: 101.5 kB / 0.9856 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.8525, allocations: 0.5047 MB / 0.9861 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.8526, allocations: 0 / 0.9861 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.088e-06/0.8526, allocations: 0 / 0.9861 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8526, allocations: 0 / 0.9861 GB, free: 1.156 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001305/0.8539, allocations: 0.7852 MB / 0.9869 GB, free: 292 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.854, allocations: 11.97 kB / 0.9869 GB, free: 280 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.854, allocations: 46.55 kB / 0.9869 GB, free: 224 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.8542, allocations: 55.61 kB / 0.987 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.8555, allocations: 471.3 kB / 0.9874 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.8556, allocations: 24 kB / 0.9875 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.8557, allocations: 51.84 kB / 0.9875 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.8562, allocations: 219.9 kB / 0.9877 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8562, allocations: 3.938 kB / 0.9877 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.8562, allocations: 11.98 kB / 0.9877 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8562, allocations: 4 kB / 0.9877 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.8565, allocations: 111.9 kB / 0.9879 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.8581, allocations: 0.9686 MB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.8588, allocations: 224.2 kB / 0.989 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.859, allocations: 106.5 kB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.8591, allocations: 8 kB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.8597, allocations: 301 kB / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.8597, allocations: 0 / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001049/0.8608, allocations: 455 kB / 0.9898 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.8609, allocations: 114.8 kB / 0.99 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.8611, allocations: 267 kB / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/0.8612, allocations: 45.7 kB / 0.9903 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.8614, allocations: 152.9 kB / 0.9904 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/0.8615, allocations: 102.6 kB / 0.9905 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.8615, allocations: 16 kB / 0.9905 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8617, allocations: 346.8 kB / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.8622, allocations: 228.8 kB / 0.9911 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.8628, allocations: 385.9 kB / 0.9914 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.8634, allocations: 393.8 kB / 0.9918 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.8634, allocations: 4 kB / 0.9918 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001579/0.865, allocations: 0.8439 MB / 0.9926 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.8652, allocations: 183.4 kB / 0.9928 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8652, allocations: 4 kB / 0.9928 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.8652, allocations: 8 kB / 0.9928 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.8655, allocations: 51.91 kB / 0.9929 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.8655, allocations: 7.984 kB / 0.9929 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/0.8664, allocations: 235.5 kB / 0.9931 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.8665, allocations: 44.16 kB / 0.9931 GB, free: 9.461 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition15,$PRE.booPul1.y,booPul1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition10,$PRE.booPul2.y,booPul2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,$PRE.pul2.booPul.y,pul2.booPul.y,$PRE.booPul5.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.0002417/0.8667, allocations: 183.4 kB / 0.9933 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.8668, allocations: 31.56 kB / 0.9933 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.8669, allocations: 33.86 kB / 0.9934 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8669, allocations: 4 kB / 0.9934 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.8669, allocations: 4 kB / 0.9934 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.8669, allocations: 3.984 kB / 0.9934 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.8682, allocations: 0.9182 MB / 0.9943 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8682, allocations: 4 kB / 0.9943 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.8685, allocations: 47.89 kB / 0.9943 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.8685, allocations: 4 kB / 0.9943 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.8685, allocations: 15.98 kB / 0.9944 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.8685, allocations: 4 kB / 0.9944 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8685, allocations: 0 / 0.9944 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.8696, allocations: 0.71 MB / 0.9951 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.8697, allocations: 104.7 kB / 0.9952 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.8697, allocations: 12.03 kB / 0.9952 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.8699, allocations: 11.98 kB / 0.9952 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.87, allocations: 31.91 kB / 0.9952 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.8701, allocations: 23.94 kB / 0.9952 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001668/0.8702, allocations: 182 kB / 0.9954 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8702, allocations: 0 / 0.9954 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005571/0.8708, allocations: 108 kB / 0.9955 GB, free: 6.93 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001421/0.8722, allocations: 1.265 MB / 0.9967 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.8737, allocations: 0.8446 MB / 0.9976 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8737, allocations: 0 / 0.9976 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.874, allocations: 151.8 kB / 0.9977 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.8748, allocations: 118.2 kB / 0.9978 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.879, allocations: 2.31 MB / 1 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.8794, allocations: 0.7808 MB / 1.001 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002503/0.8797, allocations: 55.45 kB / 1.001 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.8799, allocations: 111.4 kB / 1.001 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/0.8799, allocations: 0 / 1.001 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.9021, allocations: 9.253 MB / 1.01 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.9023, allocations: 188.4 kB / 1.01 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.919, allocations: 0 / 1.01 GB, free: 7.824 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Validation.Ramp_res.mat does not exist to compare? outputFormat=mat