Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",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.001388/0.001388, allocations: 92.16 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.001409/0.001409, 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.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.481/2.481, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 16 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7312, allocations: 146.8 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.0008533/0.7321, allocations: 405.1 kB / 0.9815 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.7329, allocations: 0.7829 MB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.7329, allocations: 3.938 kB / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.733, allocations: 0 / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.733, allocations: 0 / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.043e-05/0.7331, allocations: 8 kB / 0.9823 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.7331, allocations: 23.92 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.7332, allocations: 7.969 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.7333, allocations: 11.92 kB / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.7333, allocations: 15.98 kB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.7334, allocations: 0 / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-06/0.7334, allocations: 0 / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.7334, allocations: 3.938 kB / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.7334, allocations: 29.7 kB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.552e-05/0.7335, allocations: 15.97 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7335, allocations: 0 / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.915e-06/0.7335, allocations: 0 / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7335, allocations: 3.938 kB / 0.9824 GB, free: 4.961 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004059/0.7339, allocations: 345.6 kB / 0.9828 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.734, allocations: 8.031 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.734, allocations: 38.55 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.844e-05/0.734, allocations: 0 / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.7341, allocations: 178.9 kB / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.7341, allocations: 0 / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.7342, allocations: 0 / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.7343, allocations: 65.56 kB / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.7344, allocations: 4 kB / 0.983 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.7344, allocations: 0 / 0.983 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7344, allocations: 0 / 0.983 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.7345, allocations: 47.95 kB / 0.9831 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.7349, allocations: 245 kB / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.735, allocations: 46.45 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.7351, allocations: 36.89 kB / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.7351, allocations: 0 / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.7351, allocations: 30.56 kB / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7351, allocations: 0 / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003161/0.7355, allocations: 97.64 kB / 0.9835 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.7355, allocations: 51.41 kB / 0.9836 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.7356, allocations: 101.9 kB / 0.9837 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.7356, allocations: 25.7 kB / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.7356, allocations: 88.25 kB / 0.9838 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.7357, allocations: 15.84 kB / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.7357, allocations: 0 / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7358, allocations: 310.8 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.7359, allocations: 23.98 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.7359, allocations: 19.98 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.352e-05/0.736, allocations: 27.97 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.736, allocations: 0 / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001717/0.7362, allocations: 77.69 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7362, allocations: 4 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7362, allocations: 0 / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.7362, allocations: 0 / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.7363, allocations: 15.92 kB / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.7363, allocations: 0 / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.7364, allocations: 11.98 kB / 0.9843 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.7364, allocations: 4.031 kB / 0.9843 GB, free: 2.852 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.643e-05/0.7365, allocations: 113.8 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.7365, allocations: 7.859 kB / 0.9844 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.7365, allocations: 7.125 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.7365, allocations: 0 / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7365, allocations: 0 / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7366, allocations: 7.984 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.7367, allocations: 157.7 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7367, allocations: 0 / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.7368, allocations: 19.92 kB / 0.9846 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7368, allocations: 0 / 0.9846 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.7368, allocations: 3.953 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.7368, allocations: 0 / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7368, allocations: 256 / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.737, allocations: 171.5 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.7371, allocations: 81.11 kB / 0.9848 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.7371, allocations: 4 kB / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.7371, allocations: 15.94 kB / 0.9848 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.7372, allocations: 3.938 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.7372, allocations: 8.016 kB / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.7372, allocations: 87.27 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7372, allocations: 0 / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002051/0.7375, allocations: 4 kB / 0.9849 GB, free: 2.082 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004701/0.7379, allocations: 0.7008 MB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.7381, allocations: 48 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7381, allocations: 0 / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.7382, allocations: 31.91 kB / 0.9857 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.7385, allocations: 13.36 kB / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.7389, allocations: 142.3 kB / 0.9858 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.7391, allocations: 0.677 MB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.7391, allocations: 0 / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.7392, allocations: 11.44 kB / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7392, allocations: 0 / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.7493, allocations: 1.085 MB / 0.9876 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.7495, allocations: 228.3 kB / 0.9878 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.466, allocations: 0 / 0.9878 GB, free: 15.21 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat