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.001247/0.001247, allocations: 99.86 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.001875/0.001875, allocations: 177.3 kB / 15.94 MB, free: 228 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.589/1.589, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.793/2.793, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8505, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Ramp): time 0.001505/0.8521, allocations: 0.9525 MB / 0.9818 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.8542, allocations: 1.557 MB / 0.9833 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.8544, allocations: 4 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.8544, allocations: 15.8 kB / 0.9834 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.8546, allocations: 75.78 kB / 0.9834 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.8561, allocations: 0.5597 MB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.8566, allocations: 379.4 kB / 0.9843 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.8568, allocations: 56.72 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.8571, allocations: 239.4 kB / 0.9846 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.8574, allocations: 203.3 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.8575, allocations: 32 kB / 0.9848 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.8577, allocations: 51.92 kB / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.8577, allocations: 59.73 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.8579, allocations: 93.58 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.8584, allocations: 0.5008 MB / 0.9855 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.8584, allocations: 4 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8584, allocations: 0 / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8584, allocations: 0 / 0.9855 GB, free: 1.535 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.001244/0.8597, allocations: 0.7814 MB / 0.9863 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.8597, allocations: 12.03 kB / 0.9863 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/0.8598, allocations: 50.55 kB / 0.9864 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.86, allocations: 47.61 kB / 0.9864 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.8615, allocations: 467.2 kB / 0.9868 GB, free: 56 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.8616, allocations: 31.98 kB / 0.9869 GB, free: 24 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.8617, allocations: 51.91 kB / 0.9869 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.8622, allocations: 215.8 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8622, allocations: 3.984 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.8623, allocations: 12 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8623, allocations: 4 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.8626, allocations: 121.7 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.864, allocations: 0.9609 MB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.8647, allocations: 240 kB / 0.9884 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.8648, allocations: 4 kB / 0.9884 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005745/0.8653, allocations: 293.3 kB / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.8654, allocations: 0 / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001149/0.8665, allocations: 448.8 kB / 0.9891 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.8666, allocations: 126.7 kB / 0.9893 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.8669, allocations: 259 kB / 0.9895 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.3e-05/0.867, allocations: 49.69 kB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.8671, allocations: 156.9 kB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.8673, allocations: 102.6 kB / 0.9898 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.8673, allocations: 20 kB / 0.9898 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8675, allocations: 338.8 kB / 0.9901 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.8681, allocations: 228.9 kB / 0.9904 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.8687, allocations: 388.5 kB / 0.9907 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.8693, allocations: 382.1 kB / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8693, allocations: 0 / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001626/0.871, allocations: 0.8449 MB / 0.9919 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.8711, allocations: 182.2 kB / 0.9921 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8711, allocations: 4.375 kB / 0.9921 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.185e-05/0.8712, allocations: 8 kB / 0.9921 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.8714, allocations: 55.89 kB / 0.9922 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.8715, allocations: 11.94 kB / 0.9922 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.8726, allocations: 235.5 kB / 0.9924 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.8727, allocations: 47.97 kB / 0.9924 GB, free: 9.949 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.0002598/0.873, allocations: 167.5 kB / 0.9926 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.873, allocations: 35.61 kB / 0.9926 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.8731, allocations: 37.86 kB / 0.9927 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8731, allocations: 4 kB / 0.9927 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.8731, allocations: 4 kB / 0.9927 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8731, allocations: 4 kB / 0.9927 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.8745, allocations: 0.9271 MB / 0.9936 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8745, allocations: 0 / 0.9936 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.8748, allocations: 43.91 kB / 0.9936 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.8748, allocations: 4 kB / 0.9936 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.8748, allocations: 11.98 kB / 0.9937 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.8748, allocations: 4 kB / 0.9937 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8748, allocations: 0 / 0.9937 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.876, allocations: 0.7272 MB / 0.9944 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.8761, allocations: 112.7 kB / 0.9945 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.8762, allocations: 8.188 kB / 0.9945 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.8764, allocations: 15.94 kB / 0.9945 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.8765, allocations: 35.89 kB / 0.9945 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.8765, allocations: 19.98 kB / 0.9945 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001751/0.8767, allocations: 182 kB / 0.9947 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8767, allocations: 0 / 0.9947 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006058/0.8773, allocations: 108 kB / 0.9948 GB, free: 7.391 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.001629/0.879, allocations: 1.418 MB / 0.9962 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.8805, allocations: 0.8448 MB / 0.997 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8805, allocations: 4 kB / 0.997 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.8809, allocations: 154.7 kB / 0.9972 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.8816, allocations: 107.1 kB / 0.9973 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.8843, allocations: 3.128 MB / 1 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.8847, allocations: 0.7886 MB / 1.001 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002586/0.8849, allocations: 55.28 kB / 1.001 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.8851, allocations: 111.4 kB / 1.001 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of SimCode: time 1.183e-06/0.8851, allocations: 3.938 kB / 1.001 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06742/0.9526, allocations: 9.071 MB / 1.01 GB, free: 7.699 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000428/0.953, allocations: 187.7 kB / 1.01 GB, free: 7.461 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/3.922, allocations: 0 / 1.01 GB, free: 7.461 MB / 0.7638 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