Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001424/0.001424, allocations: 99.7 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.002383/0.002384, 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.992/1.992, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.181/3.181, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 12 kB / 0.8375 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.109, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00157/1.111, allocations: 428 kB / 0.9813 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001815/1.113, allocations: 0.8274 MB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/1.113, allocations: 0 / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/1.113, allocations: 0 / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/1.113, allocations: 7.938 kB / 0.9821 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/1.113, allocations: 23.91 kB / 0.9821 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.501e-05/1.114, allocations: 23.97 kB / 0.9821 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/1.114, allocations: 11.98 kB / 0.9822 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.26e-05/1.114, allocations: 11.92 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.928e-05/1.114, allocations: 23.92 kB / 0.9822 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/1.114, allocations: 4 kB / 0.9822 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/1.114, allocations: 0 / 0.9822 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/1.114, allocations: 11.97 kB / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/1.114, allocations: 33.64 kB / 0.9822 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.945e-05/1.114, allocations: 27.94 kB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/1.114, allocations: 0 / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.404e-06/1.114, allocations: 0 / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.114, allocations: 0 / 0.9823 GB, free: 4.805 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.0007009/1.115, allocations: 357.5 kB / 0.9826 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.489e-05/1.115, allocations: 12.03 kB / 0.9826 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/1.115, allocations: 34.56 kB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/1.115, allocations: 11.89 kB / 0.9827 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/1.115, allocations: 163 kB / 0.9828 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/1.115, allocations: 4 kB / 0.9828 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/1.115, allocations: 0 / 0.9828 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/1.116, allocations: 89.52 kB / 0.9829 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.116, allocations: 3.938 kB / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.116, allocations: 4 kB / 0.9829 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.116, allocations: 0 / 0.9829 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/1.116, allocations: 63.94 kB / 0.983 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/1.117, allocations: 288.8 kB / 0.9833 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/1.117, allocations: 70.62 kB / 0.9833 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/1.117, allocations: 7.984 kB / 0.9833 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.117, allocations: 34.5 kB / 0.9834 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/1.117, allocations: 0 / 0.9834 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004927/1.118, allocations: 125.7 kB / 0.9835 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.118, allocations: 51.41 kB / 0.9835 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/1.118, allocations: 109.8 kB / 0.9836 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/1.118, allocations: 29.64 kB / 0.9837 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/1.118, allocations: 92.05 kB / 0.9838 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/1.118, allocations: 7.844 kB / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/1.118, allocations: 0 / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.118, allocations: 322.8 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/1.118, allocations: 27.98 kB / 0.9841 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/1.118, allocations: 27.97 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/1.119, allocations: 27.98 kB / 0.9841 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.119, allocations: 4 kB / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000315/1.119, allocations: 101.5 kB / 0.9842 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/1.119, allocations: 4 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.119, allocations: 0 / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/1.119, allocations: 4 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/1.119, allocations: 15.98 kB / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.119, allocations: 0 / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/1.119, allocations: 15.92 kB / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/1.119, allocations: 0 / 0.9843 GB, free: 2.516 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 (intGreThr.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.000153/1.12, allocations: 113.8 kB / 0.9844 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/1.12, allocations: 7.938 kB / 0.9844 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/1.12, allocations: 11.91 kB / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.12, allocations: 0 / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.12, allocations: 0 / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.12, allocations: 0 / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/1.12, allocations: 177.7 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.12, allocations: 8.328 kB / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/1.12, allocations: 11.98 kB / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.12, allocations: 3.953 kB / 0.9846 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/1.12, allocations: 0 / 0.9846 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.12, allocations: 11.94 kB / 0.9846 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.12, allocations: 0 / 0.9846 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/1.121, allocations: 199.3 kB / 0.9848 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/1.121, allocations: 81.11 kB / 0.9849 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/1.121, allocations: 7.953 kB / 0.9849 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/1.121, allocations: 11.98 kB / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/1.121, allocations: 11.98 kB / 0.9849 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/1.121, allocations: 0 / 0.9849 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.223e-05/1.121, allocations: 87.27 kB / 0.985 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.121, allocations: 0 / 0.985 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002371/1.121, allocations: 8 kB / 0.985 GB, free: 1.68 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 (intGreThr.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.0007288/1.122, allocations: 0.7202 MB / 0.9857 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004282/1.122, allocations: 75.88 kB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.122, allocations: 4 kB / 0.9858 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/1.123, allocations: 27.98 kB / 0.9858 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/1.123, allocations: 19.94 kB / 0.9858 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/1.124, allocations: 474.4 kB / 0.9863 GB, free: 300 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/1.125, allocations: 0.6848 MB / 0.987 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.438e-05/1.125, allocations: 8 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/1.125, allocations: 22.42 kB / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/1.125, allocations: 0 / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/1.144, allocations: 1.516 MB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003428/1.144, allocations: 195.3 kB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.402, allocations: 4.062 kB / 0.9887 GB, free: 13.97 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat