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.0007884/0.0007884, allocations: 91.22 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.001/0.001, 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.461/1.461, allocations: 223.2 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.485/2.485, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.000461, allocations: 12 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.8, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0007963/0.8008, allocations: 421.6 kB / 0.9816 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.8018, allocations: 0.8258 MB / 0.9824 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.8018, allocations: 4 kB / 0.9824 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.8018, allocations: 7.938 kB / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.8019, allocations: 0 / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.8021, allocations: 19.92 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.8021, allocations: 43.91 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.8022, allocations: 7.984 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.8023, allocations: 19.92 kB / 0.9825 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.8024, allocations: 19.86 kB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.8024, allocations: 4 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.8024, allocations: 4 kB / 0.9825 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.8024, allocations: 11.92 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.8025, allocations: 29.7 kB / 0.9825 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.131e-05/0.8025, allocations: 35.91 kB / 0.9826 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8025, allocations: 0 / 0.9826 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8025, allocations: 0 / 0.9826 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.8026, allocations: 0 / 0.9826 GB, free: 4.816 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.0004458/0.803, allocations: 349.6 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8031, allocations: 8.031 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.8031, allocations: 34.56 kB / 0.9829 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.8031, allocations: 7.891 kB / 0.9829 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.8033, allocations: 171 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.8033, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.8034, allocations: 11.98 kB / 0.9831 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.8037, allocations: 73.61 kB / 0.9832 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.8037, allocations: 4 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.8038, allocations: 0 / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.8038, allocations: 0 / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.804, allocations: 59.94 kB / 0.9832 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.8045, allocations: 300.7 kB / 0.9835 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.8048, allocations: 62.55 kB / 0.9836 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.8049, allocations: 40.91 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.8049, allocations: 4 kB / 0.9836 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.805, allocations: 30.56 kB / 0.9837 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.805, allocations: 0 / 0.9837 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004652/0.8054, allocations: 125.6 kB / 0.9838 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.8055, allocations: 51.41 kB / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.8056, allocations: 109.8 kB / 0.9839 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.8056, allocations: 25.7 kB / 0.984 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.8057, allocations: 99.97 kB / 0.9841 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.8057, allocations: 7.844 kB / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.8058, allocations: 4 kB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8059, allocations: 318.8 kB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.806, allocations: 27.97 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.8061, allocations: 23.98 kB / 0.9844 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.8062, allocations: 35.97 kB / 0.9845 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8062, allocations: 0 / 0.9845 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002404/0.8065, allocations: 101.4 kB / 0.9846 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8065, allocations: 5.562 kB / 0.9846 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.8065, allocations: 4 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.8065, allocations: 3.938 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.8066, allocations: 15.98 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8067, allocations: 0 / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.8067, allocations: 19.98 kB / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.8068, allocations: 0 / 0.9846 GB, free: 2.496 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 9.744e-05/0.8069, allocations: 113.8 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.8069, allocations: 3.953 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.8069, allocations: 11.91 kB / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8069, allocations: 0 / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8069, allocations: 0 / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.807, allocations: 336 / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.8071, allocations: 169.6 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8071, allocations: 4 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.859e-05/0.8072, allocations: 19.92 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.8073, allocations: 7.938 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.8073, allocations: 4 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.8073, allocations: 4 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8073, allocations: 0 / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.8076, allocations: 191.4 kB / 0.9851 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.8076, allocations: 81.09 kB / 0.9852 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.8076, allocations: 7.953 kB / 0.9852 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.8078, allocations: 4 kB / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.8078, allocations: 15.97 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.8078, allocations: 7.938 kB / 0.9852 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.8079, allocations: 83.28 kB / 0.9853 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8079, allocations: 0 / 0.9853 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002257/0.8081, allocations: 8 kB / 0.9853 GB, free: 1.676 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.0006663/0.8088, allocations: 0.7318 MB / 0.986 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.8091, allocations: 63.95 kB / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8091, allocations: 0 / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.8092, allocations: 43.91 kB / 0.9861 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.8095, allocations: 7.953 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.8104, allocations: 474.5 kB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.8107, allocations: 0.6848 MB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.362e-05/0.8108, allocations: 8 kB / 0.9873 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.8108, allocations: 23.36 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8108, allocations: 0 / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.8226, allocations: 1.544 MB / 0.9888 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.8228, allocations: 206.6 kB / 0.989 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.642, allocations: 7.938 kB / 0.989 GB, free: 13.95 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