Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",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.001005/0.001005, 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.001264/0.001264, 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.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.601/2.601, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.000359, allocations: 15.94 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6816, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0009822/0.6826, allocations: 441.1 kB / 0.9816 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.6836, allocations: 0.8062 MB / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.6836, allocations: 0 / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.6837, allocations: 4 kB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.6838, allocations: 11.91 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.657e-05/0.6838, allocations: 4 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.6839, allocations: 43.84 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.684, allocations: 4 kB / 0.9824 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.6841, allocations: 19.92 kB / 0.9825 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.6841, allocations: 19.91 kB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.6842, allocations: 4 kB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-06/0.6842, allocations: 4 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.6842, allocations: 7.938 kB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.6842, allocations: 29.7 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.032e-05/0.6843, allocations: 31.92 kB / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6843, allocations: 0 / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6843, allocations: 0 / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.6843, allocations: 0 / 0.9825 GB, free: 4.828 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004802/0.6848, allocations: 377.4 kB / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6849, allocations: 15.97 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.6849, allocations: 30.56 kB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.6849, allocations: 7.984 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.685, allocations: 171 kB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.6851, allocations: 7.938 kB / 0.9831 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.6851, allocations: 4 kB / 0.9831 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.6853, allocations: 85.61 kB / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6853, allocations: 0 / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.6854, allocations: 0 / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.6854, allocations: 0 / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.6856, allocations: 87.92 kB / 0.9833 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.686, allocations: 272.9 kB / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.6862, allocations: 74.42 kB / 0.9836 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.6863, allocations: 48.92 kB / 0.9837 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.6864, allocations: 3.938 kB / 0.9837 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6864, allocations: 38.55 kB / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6864, allocations: 0 / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005028/0.6869, allocations: 165.4 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.6869, allocations: 51.41 kB / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.687, allocations: 114 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.6871, allocations: 25.7 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.6871, allocations: 92.12 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.6871, allocations: 7.906 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.6871, allocations: 0 / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6873, allocations: 318.8 kB / 0.9845 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.6874, allocations: 43.95 kB / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.6875, allocations: 39.97 kB / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.6877, allocations: 47.95 kB / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6877, allocations: 384 / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002979/0.688, allocations: 125.5 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.688, allocations: 4 kB / 0.9847 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.688, allocations: 11.92 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.688, allocations: 3.938 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6882, allocations: 15.98 kB / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6882, allocations: 4 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.6883, allocations: 27.97 kB / 0.9848 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6883, allocations: 0 / 0.9848 GB, free: 2.324 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 (3): * Single equations (assignments): 3 * 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.669e-05/0.6884, allocations: 105.8 kB / 0.9849 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.6884, allocations: 8.281 kB / 0.9849 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.6884, allocations: 7.906 kB / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6884, allocations: 3.984 kB / 0.9849 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6884, allocations: 0 / 0.9849 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6885, allocations: 8 kB / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.6886, allocations: 169.6 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6886, allocations: 0 / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.647e-05/0.6887, allocations: 19.98 kB / 0.9851 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6887, allocations: 3.953 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.6888, allocations: 0 / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.6888, allocations: 0 / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6888, allocations: 3.938 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.6891, allocations: 227.3 kB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.6892, allocations: 81.11 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.6892, allocations: 7.953 kB / 0.9854 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.6893, allocations: 15.98 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.6893, allocations: 7.984 kB / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.6893, allocations: 0 / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.6894, allocations: 95.27 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6894, allocations: 0 / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002175/0.6896, allocations: 15.84 kB / 0.9855 GB, free: 1.461 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 (3): * Single equations (assignments): 3 * 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.0006001/0.6902, allocations: 0.7476 MB / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.6905, allocations: 91.91 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6906, allocations: 0 / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.6907, allocations: 47.97 kB / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.691, allocations: 16.17 kB / 0.9864 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.6914, allocations: 166.2 kB / 0.9866 GB, free: 336 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.6917, allocations: 0.6887 MB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.6917, allocations: 3.984 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.6918, allocations: 15.44 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.6918, allocations: 0 / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.7033, allocations: 1.346 MB / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.7035, allocations: 198.7 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.452, allocations: 4.062 kB / 0.9887 GB, free: 14.17 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat