Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.001502/0.001502, allocations: 103.3 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.001868/0.001868, allocations: 173.3 kB / 15.95 MB, free: 212 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.506/1.506, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.706/2.706, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003303, allocations: 12 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8547, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.0009959/0.8558, allocations: 478.3 kB / 0.9813 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.8567, allocations: 0.8335 MB / 0.9822 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.8568, allocations: 0 / 0.9822 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.8568, allocations: 3.938 kB / 0.9822 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-05/0.8569, allocations: 0 / 0.9822 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.8571, allocations: 35.89 kB / 0.9822 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.8572, allocations: 31.95 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.8573, allocations: 19.98 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.8574, allocations: 23.92 kB / 0.9823 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.8574, allocations: 31.83 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.8575, allocations: 4 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.8575, allocations: 0 / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.8575, allocations: 15.92 kB / 0.9823 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.8576, allocations: 33.7 kB / 0.9824 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.577e-05/0.8576, allocations: 55.86 kB / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.8577, allocations: 0 / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8577, allocations: 0 / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8577, allocations: 0 / 0.9824 GB, free: 4.746 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005597/0.8582, allocations: 373.4 kB / 0.9828 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.8583, allocations: 8.031 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.8583, allocations: 38.44 kB / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.8584, allocations: 11.91 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.8586, allocations: 182.9 kB / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.8586, allocations: 4 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.8586, allocations: 4 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.8588, allocations: 89.59 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.8589, allocations: 0 / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.8589, allocations: 0 / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.8589, allocations: 7.938 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.8592, allocations: 83.88 kB / 0.9832 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.8597, allocations: 316.8 kB / 0.9835 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.8599, allocations: 94.5 kB / 0.9836 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.86, allocations: 3.984 kB / 0.9836 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.86, allocations: 34.75 kB / 0.9836 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.86, allocations: 4 kB / 0.9836 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0005037/0.8605, allocations: 145.5 kB / 0.9837 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.8606, allocations: 51.52 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.8607, allocations: 133.7 kB / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.8607, allocations: 25.7 kB / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.8608, allocations: 99.98 kB / 0.984 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.8608, allocations: 11.8 kB / 0.9841 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.8608, allocations: 0 / 0.9841 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.861, allocations: 318.8 kB / 0.9844 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.8611, allocations: 43.91 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.8612, allocations: 35.97 kB / 0.9844 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.8614, allocations: 31.98 kB / 0.9845 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8614, allocations: 3.953 kB / 0.9845 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000294/0.8617, allocations: 117.5 kB / 0.9846 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.8617, allocations: 5.562 kB / 0.9846 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8617, allocations: 0 / 0.9846 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8617, allocations: 7.984 kB / 0.9846 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.8619, allocations: 15.98 kB / 0.9846 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.8619, allocations: 0 / 0.9846 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.862, allocations: 15.98 kB / 0.9846 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.862, allocations: 4 kB / 0.9846 GB, free: 2.246 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 (6): * Single equations (assignments): 6 * 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 8.435e-05/0.8621, allocations: 115 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.8622, allocations: 15.86 kB / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.8622, allocations: 8.375 kB / 0.9848 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8622, allocations: 3.984 kB / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8622, allocations: 448 / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8622, allocations: 0 / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.8625, allocations: 201.5 kB / 0.985 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.8625, allocations: 4 kB / 0.985 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.8626, allocations: 19.94 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8626, allocations: 0 / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.8626, allocations: 4 kB / 0.985 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8626, allocations: 0 / 0.985 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8626, allocations: 0 / 0.985 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.863, allocations: 215.3 kB / 0.9852 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.8631, allocations: 89 kB / 0.9853 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.8631, allocations: 11.83 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.8632, allocations: 8 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.8633, allocations: 19.97 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.8633, allocations: 0 / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.801e-05/0.8634, allocations: 95.27 kB / 0.9854 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.8634, allocations: 0 / 0.9854 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002472/0.8637, allocations: 12 kB / 0.9854 GB, free: 1.34 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 (6): * Single equations (assignments): 6 * 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.0007465/0.8644, allocations: 0.7436 MB / 0.9861 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.8648, allocations: 87.88 kB / 0.9862 GB, free: 496 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8648, allocations: 0 / 0.9862 GB, free: 496 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.8649, allocations: 43.97 kB / 0.9863 GB, free: 452 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.8652, allocations: 15.94 kB / 0.9863 GB, free: 436 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.8664, allocations: 0.5744 MB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.8669, allocations: 0.6926 MB / 0.9875 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.099e-05/0.867, allocations: 8.188 kB / 0.9875 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.8671, allocations: 31.41 kB / 0.9876 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.8671, allocations: 0 / 0.9876 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/1.012, allocations: 1.941 MB / 0.9894 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/1.013, allocations: 196.9 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.503, allocations: 0 / 0.9896 GB, free: 13 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat does not exist to compare? outputFormat=mat