Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.001043/0.001043, allocations: 90.75 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.001519/0.001519, allocations: 172.7 kB / 15.95 MB, free: 208 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.46/1.46, allocations: 223.2 MB / 240 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.606/2.606, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 16 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.734, allocations: 146.8 MB / 0.9812 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.0009517/0.735, allocations: 0.551 MB / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.7361, allocations: 0.8741 MB / 0.9826 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.7362, allocations: 4 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.7363, allocations: 11.86 kB / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.7364, allocations: 7.922 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.7366, allocations: 27.91 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.7368, allocations: 91.77 kB / 0.9827 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.7369, allocations: 32.14 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.7371, allocations: 27.86 kB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.7372, allocations: 23.86 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.7372, allocations: 4 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.7372, allocations: 4 kB / 0.9828 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.7373, allocations: 15.92 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.7373, allocations: 37.64 kB / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.7374, allocations: 67.81 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7375, allocations: 0 / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7375, allocations: 0 / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.7375, allocations: 0 / 0.9829 GB, free: 4.426 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.0005724/0.7381, allocations: 417.2 kB / 0.9833 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7381, allocations: 15.97 kB / 0.9833 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.7382, allocations: 34.56 kB / 0.9833 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.7382, allocations: 7.906 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.7384, allocations: 210.7 kB / 0.9836 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.7385, allocations: 4 kB / 0.9836 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.7385, allocations: 8 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.7387, allocations: 101.6 kB / 0.9837 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7387, allocations: 0 / 0.9837 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.7388, allocations: 4 kB / 0.9837 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7388, allocations: 4 kB / 0.9837 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.739, allocations: 79.94 kB / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.7395, allocations: 360.5 kB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.7398, allocations: 78.47 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.7399, allocations: 44.92 kB / 0.9842 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.74, allocations: 0 / 0.9842 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.74, allocations: 34.56 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.74, allocations: 4 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004293/0.7404, allocations: 137.8 kB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.7405, allocations: 51.41 kB / 0.9844 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.7406, allocations: 135.5 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.7406, allocations: 29.7 kB / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.7407, allocations: 104 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.7407, allocations: 11.84 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.7407, allocations: 4 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.7409, allocations: 326.8 kB / 0.985 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.741, allocations: 35.97 kB / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.7411, allocations: 39.97 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.7412, allocations: 31.98 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7412, allocations: 0 / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000267/0.7415, allocations: 117.7 kB / 0.9852 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7415, allocations: 4 kB / 0.9852 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7415, allocations: 0 / 0.9852 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7415, allocations: 7.984 kB / 0.9852 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.7416, allocations: 11.98 kB / 0.9852 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7417, allocations: 0 / 0.9852 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.7418, allocations: 27.97 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.7418, allocations: 11.88 kB / 0.9853 GB, free: 1.758 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 (gre.y,$PRE.greHys.greHys.y,greHys.greHys.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 8.387e-05/0.7419, allocations: 117.8 kB / 0.9854 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.7419, allocations: 11.91 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.7419, allocations: 8.25 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.742, allocations: 0 / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.742, allocations: 0 / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.742, allocations: 11.98 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.7422, allocations: 193.5 kB / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7422, allocations: 0 / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.7423, allocations: 15.92 kB / 0.9856 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.7423, allocations: 4 kB / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.7423, allocations: 3.984 kB / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7423, allocations: 0 / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7423, allocations: 0 / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.7426, allocations: 211.3 kB / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.7427, allocations: 81.02 kB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.7427, allocations: 8 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.7429, allocations: 23.97 kB / 0.9859 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.7429, allocations: 7.984 kB / 0.986 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7429, allocations: 4 kB / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.735e-05/0.743, allocations: 104.8 kB / 0.9861 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.743, allocations: 0 / 0.9861 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002274/0.7433, allocations: 11.91 kB / 0.9861 GB, free: 0.8633 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.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.0007101/0.744, allocations: 0.7398 MB / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.7443, allocations: 91.88 kB / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7443, allocations: 0 / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.7444, allocations: 39.97 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.7447, allocations: 11.98 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.746, allocations: 0.6354 MB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.7464, allocations: 0.7005 MB / 0.9882 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.515e-05/0.7464, allocations: 8.172 kB / 0.9882 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.7465, allocations: 19.44 kB / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/0.7465, allocations: 0 / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.7617, allocations: 1.862 MB / 0.9901 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.762, allocations: 203.8 kB / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.606, allocations: 2.25 kB / 0.9903 GB, free: 12.56 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat does not exist to compare? outputFormat=mat