Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.001173/0.001173, allocations: 99.55 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.001413/0.001413, allocations: 177.3 kB / 15.95 MB, free: 216 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.693/1.693, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.77/2.77, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006772/0.0006775, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, 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.Sort): time 0.001064/1.053, allocations: 0.5202 MB / 0.9814 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001308/1.054, allocations: 0.9988 MB / 0.9824 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/1.054, allocations: 0 / 0.9824 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/1.054, allocations: 15.88 kB / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/1.054, allocations: 23.95 kB / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/1.055, allocations: 67.8 kB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/1.055, allocations: 67.84 kB / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/1.055, allocations: 41.38 kB / 0.9826 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/1.055, allocations: 31.91 kB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/1.055, allocations: 47.75 kB / 0.9827 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/1.055, allocations: 8 kB / 0.9827 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/1.055, allocations: 39.97 kB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/1.055, allocations: 27.91 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/1.056, allocations: 41.64 kB / 0.9828 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/1.056, allocations: 130 kB / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/1.056, allocations: 4 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.578e-06/1.056, allocations: 0 / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.661e-06/1.056, allocations: 3.938 kB / 0.9829 GB, free: 4.223 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008621/1.057, allocations: 492.3 kB / 0.9834 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.057, allocations: 8.031 kB / 0.9834 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/1.057, allocations: 38.56 kB / 0.9834 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/1.057, allocations: 15.81 kB / 0.9834 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/1.057, allocations: 198.8 kB / 0.9836 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1.057, allocations: 8 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/1.057, allocations: 8 kB / 0.9836 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/1.058, allocations: 222.4 kB / 0.9838 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.058, allocations: 0 / 0.9838 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.058, allocations: 4 kB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/1.058, allocations: 15.98 kB / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/1.059, allocations: 259.8 kB / 0.9841 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.06, allocations: 488.3 kB / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/1.06, allocations: 162.5 kB / 0.9847 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/1.06, allocations: 0 / 0.9847 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/1.06, allocations: 38.56 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.895e-06/1.06, allocations: 0 / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001419/1.062, allocations: 0.6335 MB / 0.9854 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/1.062, allocations: 51.41 kB / 0.9854 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/1.062, allocations: 148 kB / 0.9856 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/1.062, allocations: 33.77 kB / 0.9856 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/1.062, allocations: 112.3 kB / 0.9857 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/1.062, allocations: 43.27 kB / 0.9858 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/1.062, allocations: 0 / 0.9858 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.062, allocations: 334.8 kB / 0.9861 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/1.062, allocations: 135.9 kB / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/1.063, allocations: 141.2 kB / 0.9863 GB, free: 448 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/1.063, allocations: 151.8 kB / 0.9865 GB, free: 296 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.063, allocations: 0 / 0.9865 GB, free: 296 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008361/1.064, allocations: 327 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.064, allocations: 4 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.064, allocations: 0 / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.064, allocations: 4 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/1.064, allocations: 47.95 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.064, allocations: 0 / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/1.065, allocations: 55.8 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/1.065, allocations: 4 kB / 0.9869 GB, free: 15.85 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001217/1.065, allocations: 129.8 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/1.065, allocations: 7.906 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/1.065, allocations: 24.83 kB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/1.065, allocations: 8 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.065, allocations: 0 / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.065, allocations: 0 / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/1.065, allocations: 241.3 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.065, allocations: 0 / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/1.065, allocations: 51.95 kB / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/1.066, allocations: 7.922 kB / 0.9874 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/1.066, allocations: 3.984 kB / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.066, allocations: 0 / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.066, allocations: 4 kB / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/1.066, allocations: 443 kB / 0.9878 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/1.067, allocations: 85.02 kB / 0.9879 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/1.067, allocations: 4 kB / 0.9879 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/1.067, allocations: 43.95 kB / 0.9879 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/1.067, allocations: 11.98 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/1.067, allocations: 4 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.481e-05/1.067, allocations: 108.9 kB / 0.988 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.067, allocations: 3.938 kB / 0.988 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003015/1.067, allocations: 35.91 kB / 0.9881 GB, free: 14.56 MB / 0.7481 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.001334/1.069, allocations: 0.991 MB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000856/1.069, allocations: 307.7 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.069, allocations: 4 kB / 0.9893 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004336/1.07, allocations: 159.9 kB / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/1.07, allocations: 12 kB / 0.9895 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.073, allocations: 1.185 MB / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/1.073, allocations: 0.7326 MB / 0.9914 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.657e-05/1.073, allocations: 19.98 kB / 0.9914 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/1.073, allocations: 35.42 kB / 0.9914 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/1.073, allocations: 0 / 0.9914 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3371/1.41, allocations: 2.96 MB / 0.9943 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.41, allocations: 183.3 kB / 0.9945 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.827, allocations: 0 / 0.9945 GB, free: 7.984 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat does not exist to compare? outputFormat=mat