Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.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.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",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.001282/0.001282, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001502/0.001502, allocations: 168.7 kB / 15.95 MB, free: 204 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.471/1.471, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.563/2.563, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 15.98 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.829, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001453/0.8305, allocations: 0.7498 MB / 0.9819 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.8317, allocations: 0.9519 MB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.8318, allocations: 8 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.8318, allocations: 11.86 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.832, allocations: 31.72 kB / 0.9829 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.8321, allocations: 47.94 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.8324, allocations: 199.4 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.8326, allocations: 52.28 kB / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.8327, allocations: 75.69 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.8328, allocations: 91.59 kB / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.8329, allocations: 8 kB / 0.9833 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.8329, allocations: 11.94 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.8329, allocations: 35.83 kB / 0.9834 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.833, allocations: 49.64 kB / 0.9834 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.8332, allocations: 149.9 kB / 0.9836 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8332, allocations: 0 / 0.9836 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8332, allocations: 0 / 0.9836 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8332, allocations: 0 / 0.9836 GB, free: 3.785 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001133/0.8344, allocations: 0.5843 MB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.8344, allocations: 8.031 kB / 0.9841 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.467e-05/0.8345, allocations: 46.55 kB / 0.9842 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.8346, allocations: 31.66 kB / 0.9842 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.8348, allocations: 210.8 kB / 0.9844 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.8348, allocations: 8 kB / 0.9844 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.8349, allocations: 16 kB / 0.9844 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007485/0.8356, allocations: 293.3 kB / 0.9847 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8357, allocations: 4 kB / 0.9847 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.8357, allocations: 11.94 kB / 0.9847 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.8357, allocations: 4 kB / 0.9847 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.8368, allocations: 375.7 kB / 0.9851 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.8375, allocations: 0.4962 MB / 0.9856 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.8382, allocations: 296 kB / 0.9859 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.8389, allocations: 250.2 kB / 0.9861 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.8389, allocations: 0 / 0.9861 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.839, allocations: 30.56 kB / 0.9861 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.839, allocations: 0 / 0.9861 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.001805/0.8408, allocations: 0.6347 MB / 0.9868 GB, free: 348 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.8408, allocations: 59.41 kB / 0.9868 GB, free: 276 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.841, allocations: 174.9 kB / 0.987 GB, free: 88 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.841, allocations: 29.7 kB / 0.987 GB, free: 52 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.8411, allocations: 132.2 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.8412, allocations: 55.19 kB / 0.9872 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.8412, allocations: 4 kB / 0.9872 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8413, allocations: 326.8 kB / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.8419, allocations: 195.8 kB / 0.9877 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.8425, allocations: 228.3 kB / 0.9879 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.843, allocations: 195.9 kB / 0.9881 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.843, allocations: 0 / 0.9881 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001151/0.8442, allocations: 455 kB / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8442, allocations: 4 kB / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.8442, allocations: 0 / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.8443, allocations: 4 kB / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.8447, allocations: 107.8 kB / 0.9886 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8447, allocations: 7.891 kB / 0.9886 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.845, allocations: 87.86 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.845, allocations: 4 kB / 0.9887 GB, free: 14.25 MB / 0.7481 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 (18): * Single equations (assignments): 18 * 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.000134/0.8452, allocations: 121.8 kB / 0.9888 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.8452, allocations: 23.66 kB / 0.9889 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.8453, allocations: 25.86 kB / 0.9889 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.8453, allocations: 7.984 kB / 0.9889 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8453, allocations: 0 / 0.9889 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8453, allocations: 3.953 kB / 0.9889 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.8456, allocations: 277.4 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8456, allocations: 3.938 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.846, allocations: 99.91 kB / 0.9893 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.846, allocations: 0 / 0.9893 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.846, allocations: 4 kB / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.846, allocations: 0 / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.846, allocations: 0 / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.8479, allocations: 0.7779 MB / 0.99 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.848, allocations: 92.94 kB / 0.9901 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.8481, allocations: 4 kB / 0.9901 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.8484, allocations: 79.98 kB / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.8485, allocations: 19.97 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.8485, allocations: 4 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001055/0.8486, allocations: 131.2 kB / 0.9903 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8486, allocations: 0 / 0.9903 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002823/0.8489, allocations: 39.94 kB / 0.9904 GB, free: 12.47 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * 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 (17): * Single equations (assignments): 17 * 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.002259/0.8512, allocations: 1.314 MB / 0.9917 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.8524, allocations: 425.6 kB / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.8524, allocations: 0 / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.853, allocations: 219.8 kB / 0.9923 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.8534, allocations: 36.16 kB / 0.9923 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.8566, allocations: 1.513 MB / 0.9938 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.857, allocations: 0.7282 MB / 0.9945 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.8571, allocations: 13.09 kB / 0.9945 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.8572, allocations: 59.47 kB / 0.9946 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of SimCode: time 1.803e-06/0.8572, allocations: 0 / 0.9946 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.8728, allocations: 3.829 MB / 0.9983 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.873, allocations: 207.5 kB / 0.9985 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.715, allocations: 0 / 0.9985 GB, free: 4.203 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat does not exist to compare? outputFormat=mat