Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.0009424/0.0009425, allocations: 86.41 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.001211/0.001211, 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.624/2.624, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004771, allocations: 15.94 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.8025, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.0009852/0.8035, allocations: 425.6 kB / 0.9816 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.8045, allocations: 0.8296 MB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.8045, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.8046, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.8047, allocations: 3.938 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.8048, allocations: 23.97 kB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.8049, allocations: 35.92 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.805, allocations: 15.98 kB / 0.9825 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.8051, allocations: 15.92 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.8052, allocations: 23.91 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.8052, allocations: 0 / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.8052, allocations: 4 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.8053, allocations: 3.938 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.8053, allocations: 37.69 kB / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.8054, allocations: 27.92 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.8054, allocations: 0 / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8054, allocations: 4 kB / 0.9826 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.8054, allocations: 0 / 0.9826 GB, free: 4.797 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.000525/0.8059, allocations: 353.5 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.806, allocations: 8.031 kB / 0.9829 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.806, allocations: 30.56 kB / 0.9829 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.806, allocations: 7.906 kB / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.8062, allocations: 167 kB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8062, allocations: 7.938 kB / 0.9831 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.8063, allocations: 11.98 kB / 0.9831 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.8065, allocations: 69.61 kB / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8065, allocations: 0 / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8065, allocations: 4 kB / 0.9832 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8065, allocations: 0 / 0.9832 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.8067, allocations: 59.95 kB / 0.9833 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.8072, allocations: 288.7 kB / 0.9835 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.8074, allocations: 78.47 kB / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.8075, allocations: 36.91 kB / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.8075, allocations: 4 kB / 0.9836 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.8076, allocations: 30.56 kB / 0.9837 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8076, allocations: 7.938 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004047/0.808, allocations: 117.6 kB / 0.9838 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.808, allocations: 59.41 kB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.8081, allocations: 109.8 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.8082, allocations: 29.64 kB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.8082, allocations: 88.05 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.8082, allocations: 11.84 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.8083, allocations: 0 / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8084, allocations: 318.8 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.8085, allocations: 31.98 kB / 0.9844 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.8086, allocations: 27.97 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.8087, allocations: 23.98 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8087, allocations: 0 / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002412/0.8089, allocations: 113.4 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.809, allocations: 4 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.809, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.809, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.8091, allocations: 16.31 kB / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8091, allocations: 4 kB / 0.9846 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.8092, allocations: 11.98 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.8092, allocations: 4 kB / 0.9846 GB, free: 2.477 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 (intGreEquThr.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 8.669e-05/0.8093, allocations: 105.8 kB / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.8093, allocations: 15.92 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.8094, allocations: 7.906 kB / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8094, allocations: 0 / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8094, allocations: 0 / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8094, allocations: 8 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.8096, allocations: 169.6 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8096, allocations: 0 / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.8097, allocations: 19.98 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8097, allocations: 3.953 kB / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.8097, allocations: 0 / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8098, allocations: 0 / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8098, allocations: 3.938 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.81, allocations: 199.3 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.8101, allocations: 77.11 kB / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.8101, allocations: 3.953 kB / 0.9852 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.8102, allocations: 15.98 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.8103, allocations: 11.98 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.8103, allocations: 0 / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.8103, allocations: 95.56 kB / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8103, allocations: 0 / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002132/0.8105, allocations: 8 kB / 0.9853 GB, free: 1.648 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 (intGreEquThr.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.0005928/0.8111, allocations: 0.724 MB / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.8114, allocations: 71.89 kB / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8114, allocations: 0 / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.8115, allocations: 35.97 kB / 0.9861 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.8118, allocations: 11.94 kB / 0.9861 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009204/0.8127, allocations: 483.9 kB / 0.9866 GB, free: 264 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.813, allocations: 0.6887 MB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.8131, allocations: 4 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.8132, allocations: 19.42 kB / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.8132, allocations: 4 kB / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.8269, allocations: 1.539 MB / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.8273, allocations: 204.1 kB / 0.989 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.611, allocations: 4.062 kB / 0.989 GB, free: 13.92 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat does not exist to compare? outputFormat=mat