Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001301/0.0013, allocations: 99.86 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.001532/0.001532, 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 2.174/2.174, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.169/4.169, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005455, allocations: 11.98 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.228, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001477/1.23, allocations: 436 kB / 0.9813 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001512/1.231, allocations: 0.8196 MB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/1.231, allocations: 0 / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/1.231, allocations: 4 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/1.232, allocations: 7.938 kB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/1.232, allocations: 19.92 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/1.232, allocations: 27.95 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/1.232, allocations: 11.98 kB / 0.9822 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/1.232, allocations: 19.92 kB / 0.9822 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/1.232, allocations: 15.92 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/1.232, allocations: 4 kB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/1.232, allocations: 0 / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/1.232, allocations: 11.97 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/1.233, allocations: 29.7 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/1.233, allocations: 35.86 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.233, allocations: 0 / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.645e-06/1.233, allocations: 0 / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.233, allocations: 0 / 0.9823 GB, free: 4.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007211/1.233, allocations: 349.6 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/1.233, allocations: 12.03 kB / 0.9826 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.8e-05/1.234, allocations: 34.56 kB / 0.9826 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/1.234, allocations: 11.89 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/1.234, allocations: 167 kB / 0.9828 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/1.234, allocations: 4 kB / 0.9828 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/1.234, allocations: 0 / 0.9828 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/1.234, allocations: 81.55 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.234, allocations: 0 / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.234, allocations: 0 / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.234, allocations: 3.984 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/1.235, allocations: 67.88 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/1.235, allocations: 296.7 kB / 0.9833 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/1.236, allocations: 62.55 kB / 0.9833 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/1.236, allocations: 3.938 kB / 0.9833 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.236, allocations: 38.72 kB / 0.9834 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/1.236, allocations: 0 / 0.9834 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0006506/1.236, allocations: 121.6 kB / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/1.236, allocations: 51.41 kB / 0.9835 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/1.237, allocations: 121.8 kB / 0.9836 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/1.237, allocations: 25.7 kB / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/1.237, allocations: 88.05 kB / 0.9837 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.237, allocations: 11.84 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/1.237, allocations: 4 kB / 0.9838 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.237, allocations: 314.8 kB / 0.9841 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/1.237, allocations: 27.92 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/1.237, allocations: 35.97 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/1.238, allocations: 23.98 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.238, allocations: 0 / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003471/1.238, allocations: 105.5 kB / 0.9842 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.238, allocations: 8 kB / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.238, allocations: 0 / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.238, allocations: 0 / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/1.238, allocations: 11.98 kB / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.238, allocations: 0 / 0.9843 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/1.238, allocations: 15.98 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/1.238, allocations: 8 kB / 0.9843 GB, free: 2.57 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001385/1.238, allocations: 113.8 kB / 0.9844 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/1.239, allocations: 7.953 kB / 0.9844 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/1.239, allocations: 11.89 kB / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.239, allocations: 3.938 kB / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.239, allocations: 0 / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.239, allocations: 0 / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/1.239, allocations: 169.7 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.239, allocations: 4 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.239, allocations: 15.98 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.239, allocations: 7.938 kB / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.239, allocations: 0 / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.239, allocations: 0 / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.239, allocations: 0 / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/1.239, allocations: 199.7 kB / 0.9848 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/1.24, allocations: 77.11 kB / 0.9849 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/1.24, allocations: 3.953 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.24, allocations: 11.98 kB / 0.9849 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.24, allocations: 15.92 kB / 0.9849 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/1.24, allocations: 4 kB / 0.9849 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.489e-05/1.24, allocations: 91.27 kB / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.24, allocations: 0 / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003391/1.24, allocations: 4 kB / 0.985 GB, free: 1.746 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0008641/1.241, allocations: 0.7319 MB / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003554/1.242, allocations: 67.89 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.242, allocations: 0 / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/1.242, allocations: 35.97 kB / 0.9858 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/1.242, allocations: 7.953 kB / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/1.243, allocations: 494.4 kB / 0.9863 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/1.244, allocations: 0.6848 MB / 0.987 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.416e-05/1.244, allocations: 4 kB / 0.987 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/1.244, allocations: 15.42 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/1.244, allocations: 4 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/1.263, allocations: 1.517 MB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003693/1.263, allocations: 203 kB / 0.9887 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.595, allocations: 0 / 0.9887 GB, free: 14.03 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat