Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.001084/0.001084, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001387/0.001387, allocations: 168.7 kB / 15.95 MB, free: 204 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.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.567/2.567, allocations: 409.4 MB / 0.684 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8379, allocations: 146.8 MB / 0.9812 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001059/0.839, allocations: 425.6 kB / 0.9816 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.8402, allocations: 0.8335 MB / 0.9824 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.8403, allocations: 0 / 0.9824 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.8403, allocations: 0 / 0.9824 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.018e-05/0.8404, allocations: 3.938 kB / 0.9824 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.8406, allocations: 19.98 kB / 0.9824 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/0.8407, allocations: 43.89 kB / 0.9824 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.8408, allocations: 11.98 kB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.8409, allocations: 15.94 kB / 0.9825 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.841, allocations: 23.91 kB / 0.9825 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.841, allocations: 4 kB / 0.9825 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.841, allocations: 0 / 0.9825 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.8411, allocations: 7.984 kB / 0.9825 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.8411, allocations: 33.64 kB / 0.9825 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.007e-05/0.8412, allocations: 27.92 kB / 0.9826 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8412, allocations: 0 / 0.9826 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8412, allocations: 0 / 0.9826 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8412, allocations: 0 / 0.9826 GB, free: 4.895 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.0007382/0.842, allocations: 357.5 kB / 0.9829 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.8421, allocations: 8.031 kB / 0.9829 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.8421, allocations: 34.56 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.8422, allocations: 7.906 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.8424, allocations: 171 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.8424, allocations: 0 / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.8425, allocations: 4 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.8428, allocations: 81.55 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.8428, allocations: 3.938 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8428, allocations: 0 / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.8428, allocations: 4 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.8431, allocations: 55.95 kB / 0.9833 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.8437, allocations: 300.7 kB / 0.9835 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.844, allocations: 66.48 kB / 0.9836 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.8442, allocations: 40.91 kB / 0.9836 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.8442, allocations: 0 / 0.9836 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.8443, allocations: 30.56 kB / 0.9837 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.096e-06/0.8443, allocations: 0 / 0.9837 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000609/0.8449, allocations: 129.6 kB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.845, allocations: 55.34 kB / 0.9838 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.8451, allocations: 105.8 kB / 0.9839 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.8452, allocations: 29.7 kB / 0.984 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.8453, allocations: 92.05 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.8453, allocations: 15.83 kB / 0.9841 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.8453, allocations: 0 / 0.9841 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8455, allocations: 314.8 kB / 0.9844 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.8456, allocations: 27.97 kB / 0.9844 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.8458, allocations: 31.98 kB / 0.9844 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.8459, allocations: 31.97 kB / 0.9845 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8459, allocations: 0 / 0.9845 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003735/0.8463, allocations: 97.52 kB / 0.9846 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8463, allocations: 4 kB / 0.9846 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.8464, allocations: 0 / 0.9846 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8464, allocations: 4 kB / 0.9846 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.8466, allocations: 23.91 kB / 0.9846 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.8466, allocations: 0 / 0.9846 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.8467, allocations: 8.328 kB / 0.9846 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.8467, allocations: 3.984 kB / 0.9846 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 (intLesThr.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.000114/0.8468, allocations: 117.8 kB / 0.9847 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.8469, allocations: 7.938 kB / 0.9847 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.8469, allocations: 11.91 kB / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8469, allocations: 0 / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.847, allocations: 0 / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.847, allocations: 0 / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.8472, allocations: 173.6 kB / 0.9849 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.8473, allocations: 0 / 0.9849 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.8474, allocations: 15.98 kB / 0.9849 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8474, allocations: 3.953 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.8474, allocations: 4 kB / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.8474, allocations: 0 / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8474, allocations: 3.938 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.8479, allocations: 199.3 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.8479, allocations: 85.11 kB / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.848, allocations: 3.953 kB / 0.9852 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.8481, allocations: 11.98 kB / 0.9852 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.8482, allocations: 7.984 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.8483, allocations: 7.984 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.399e-05/0.8484, allocations: 79.28 kB / 0.9853 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8484, allocations: 4 kB / 0.9853 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000429/0.8488, allocations: 12 kB / 0.9853 GB, free: 1.738 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 (intLesThr.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.000805/0.8496, allocations: 0.721 MB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.85, allocations: 67.88 kB / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.85, allocations: 4 kB / 0.9861 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.8502, allocations: 39.97 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.8507, allocations: 7.953 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.8521, allocations: 490.4 kB / 0.9866 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.8524, allocations: 0.6848 MB / 0.9873 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.833e-05/0.8525, allocations: 0 / 0.9873 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.8526, allocations: 19.42 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.8526, allocations: 0 / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.8679, allocations: 1.54 MB / 0.9888 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/0.8683, allocations: 198.5 kB / 0.989 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.735, allocations: 4 kB / 0.989 GB, free: 14 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat