Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.001955/0.001955, allocations: 100.1 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.003054/0.003054, 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.582/1.582, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.053/3.053, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006155/0.0006159, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001402/1.006, allocations: 0.5591 MB / 0.9814 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001511/1.008, allocations: 0.8741 MB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/1.008, allocations: 0 / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/1.008, allocations: 7.875 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/1.008, allocations: 23.95 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/1.008, allocations: 27.97 kB / 0.9823 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/1.009, allocations: 59.88 kB / 0.9824 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/1.009, allocations: 40.12 kB / 0.9824 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/1.009, allocations: 31.8 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/1.009, allocations: 31.83 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/1.009, allocations: 4 kB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.811e-05/1.009, allocations: 4 kB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/1.009, allocations: 7.938 kB / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/1.009, allocations: 37.64 kB / 0.9825 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/1.009, allocations: 75.81 kB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.009, allocations: 0 / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/1.009, allocations: 0 / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.563e-06/1.009, allocations: 0 / 0.9826 GB, free: 4.484 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007407/1.01, allocations: 413.2 kB / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/1.01, allocations: 8.031 kB / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/1.01, allocations: 38.55 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/1.01, allocations: 15.91 kB / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/1.011, allocations: 195.6 kB / 0.9833 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/1.011, allocations: 8 kB / 0.9833 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/1.011, allocations: 4 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/1.011, allocations: 97.59 kB / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.011, allocations: 0 / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/1.011, allocations: 4 kB / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.011, allocations: 4 kB / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/1.012, allocations: 79.94 kB / 0.9834 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/1.013, allocations: 364.5 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/1.013, allocations: 78.48 kB / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/1.013, allocations: 4.094 kB / 0.9839 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.013, allocations: 34.55 kB / 0.9839 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.013, allocations: 0 / 0.9839 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007158/1.014, allocations: 133.6 kB / 0.984 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.014, allocations: 59.39 kB / 0.9841 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/1.014, allocations: 139.6 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.014, allocations: 25.7 kB / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/1.014, allocations: 104 kB / 0.9844 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/1.014, allocations: 11.89 kB / 0.9844 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/1.014, allocations: 3.938 kB / 0.9844 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.015, allocations: 318.8 kB / 0.9847 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/1.015, allocations: 39.97 kB / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/1.015, allocations: 43.91 kB / 0.9847 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/1.015, allocations: 40.09 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.015, allocations: 0 / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004654/1.016, allocations: 109.6 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/1.016, allocations: 8 kB / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.016, allocations: 3.984 kB / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.016, allocations: 0 / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/1.016, allocations: 15.98 kB / 0.9849 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.016, allocations: 0 / 0.9849 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/1.016, allocations: 27.98 kB / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/1.016, allocations: 0 / 0.9849 GB, free: 1.883 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: 3 (les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001908/1.016, allocations: 121.7 kB / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/1.017, allocations: 7.906 kB / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/1.017, allocations: 12.23 kB / 0.9851 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.017, allocations: 4 kB / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.017, allocations: 0 / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.017, allocations: 0 / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/1.017, allocations: 197.5 kB / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/1.017, allocations: 0 / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/1.017, allocations: 19.98 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.017, allocations: 0 / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/1.017, allocations: 0 / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.017, allocations: 0 / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.017, allocations: 0 / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/1.018, allocations: 215.5 kB / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/1.018, allocations: 85 kB / 0.9856 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/1.018, allocations: 4 kB / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/1.018, allocations: 19.98 kB / 0.9856 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.018, allocations: 11.97 kB / 0.9856 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.018, allocations: 4 kB / 0.9856 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001042/1.019, allocations: 102.2 kB / 0.9857 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.019, allocations: 0 / 0.9857 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004406/1.019, allocations: 19.91 kB / 0.9857 GB, free: 0.9844 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.001101/1.02, allocations: 0.7436 MB / 0.9865 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004863/1.021, allocations: 83.88 kB / 0.9865 GB, free: 132 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.021, allocations: 4 kB / 0.9865 GB, free: 128 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/1.021, allocations: 43.91 kB / 0.9866 GB, free: 84 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/1.021, allocations: 8 kB / 0.9866 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/1.023, allocations: 0.6379 MB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.024, allocations: 0.7004 MB / 0.9879 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.92e-05/1.024, allocations: 8.172 kB / 0.9879 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/1.024, allocations: 19.5 kB / 0.9879 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of SimCode: time 6.12e-07/1.024, allocations: 0 / 0.9879 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/1.045, allocations: 1.849 MB / 0.9897 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003723/1.045, allocations: 186.8 kB / 0.9899 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.669, allocations: 0 / 0.9899 GB, free: 12.69 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat does not exist to compare? outputFormat=mat