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.001075/0.001075, allocations: 100.6 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.001184/0.001184, allocations: 177.3 kB / 15.94 MB, free: 228 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.807/1.807, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.942/2.942, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004919, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205/1.206, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.001486/1.207, allocations: 0.555 MB / 0.9814 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001645/1.209, allocations: 0.878 MB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/1.209, allocations: 3.938 kB / 0.9823 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/1.209, allocations: 7.938 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/1.209, allocations: 19.95 kB / 0.9823 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/1.21, allocations: 35.91 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/1.21, allocations: 55.88 kB / 0.9824 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/1.21, allocations: 36.14 kB / 0.9824 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/1.21, allocations: 23.91 kB / 0.9825 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/1.21, allocations: 43.78 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/1.21, allocations: 3.938 kB / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/1.21, allocations: 4 kB / 0.9825 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/1.21, allocations: 3.984 kB / 0.9825 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/1.21, allocations: 37.64 kB / 0.9826 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/1.211, allocations: 75.81 kB / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.211, allocations: 0 / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.355e-06/1.211, allocations: 0 / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.211, allocations: 0 / 0.9826 GB, free: 4.469 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.000926/1.212, allocations: 417.2 kB / 0.983 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/1.212, allocations: 8.031 kB / 0.983 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.926e-05/1.212, allocations: 42.5 kB / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/1.212, allocations: 7.906 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/1.212, allocations: 192.6 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/1.212, allocations: 8 kB / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/1.212, allocations: 4 kB / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/1.213, allocations: 97.59 kB / 0.9834 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.213, allocations: 0 / 0.9834 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/1.213, allocations: 8 kB / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.213, allocations: 3.984 kB / 0.9834 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/1.213, allocations: 83.89 kB / 0.9835 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/1.214, allocations: 360.5 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/1.214, allocations: 82.53 kB / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/1.214, allocations: 0 / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.215, allocations: 30.56 kB / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/1.215, allocations: 3.938 kB / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0008366/1.215, allocations: 145.6 kB / 0.9841 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.215, allocations: 51.41 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/1.216, allocations: 137.9 kB / 0.9842 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/1.216, allocations: 25.7 kB / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.216, allocations: 108 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/1.216, allocations: 7.906 kB / 0.9844 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/1.216, allocations: 0 / 0.9844 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.216, allocations: 326.8 kB / 0.9847 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/1.216, allocations: 35.97 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/1.217, allocations: 39.97 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/1.217, allocations: 27.98 kB / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.217, allocations: 11.94 kB / 0.9848 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004583/1.217, allocations: 109.5 kB / 0.9849 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.217, allocations: 4.938 kB / 0.9849 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.217, allocations: 4 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.217, allocations: 0 / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/1.217, allocations: 19.92 kB / 0.9849 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.218, allocations: 0 / 0.9849 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/1.218, allocations: 23.97 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/1.218, allocations: 4 kB / 0.9849 GB, free: 1.867 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 0.000147/1.218, allocations: 121.8 kB / 0.9851 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/1.218, allocations: 7.906 kB / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/1.218, allocations: 12.25 kB / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.218, allocations: 0 / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.218, allocations: 0 / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.218, allocations: 3.984 kB / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/1.218, allocations: 189.7 kB / 0.9853 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.218, allocations: 4 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/1.219, allocations: 19.98 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.219, allocations: 192 / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/1.219, allocations: 7.984 kB / 0.9853 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.219, allocations: 0 / 0.9853 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.219, allocations: 4 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/1.219, allocations: 207.3 kB / 0.9855 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/1.219, allocations: 85.02 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/1.219, allocations: 4 kB / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/1.22, allocations: 27.97 kB / 0.9856 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/1.22, allocations: 7.984 kB / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.22, allocations: 0 / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001007/1.22, allocations: 104.7 kB / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.22, allocations: 0 / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004327/1.22, allocations: 19.84 kB / 0.9857 GB, free: 0.9648 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.001046/1.221, allocations: 0.7397 MB / 0.9865 GB, free: 200 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004455/1.222, allocations: 79.94 kB / 0.9865 GB, free: 120 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.222, allocations: 4 kB / 0.9865 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/1.222, allocations: 39.97 kB / 0.9866 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/1.222, allocations: 8 kB / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/1.224, allocations: 0.647 MB / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.225, allocations: 0.6965 MB / 0.9879 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.359e-05/1.225, allocations: 8.188 kB / 0.9879 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/1.225, allocations: 27.48 kB / 0.9879 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.225, allocations: 3.938 kB / 0.9879 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/1.244, allocations: 1.851 MB / 0.9897 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003738/1.244, allocations: 194.3 kB / 0.9899 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/4.376, allocations: 0 / 0.9899 GB, free: 12.67 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