Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_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.0008293/0.0008292, allocations: 86.95 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.0009274/0.0009274, 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.43/1.43, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003957, allocations: 15.94 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7817/0.7822, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0008378/0.783, allocations: 422.5 kB / 0.9543 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000825/0.7839, allocations: 0.8297 MB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.7839, allocations: 1.312 kB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.784, allocations: 3.938 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.784, allocations: 1.5 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.7842, allocations: 15.25 kB / 0.9551 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.7842, allocations: 42.7 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.7843, allocations: 10.02 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.7844, allocations: 22.36 kB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.7845, allocations: 22.28 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.7845, allocations: 5.344 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.7845, allocations: 2.656 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.7845, allocations: 5.516 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.7846, allocations: 31.08 kB / 0.9552 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.491e-05/0.7846, allocations: 34.98 kB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7846, allocations: 0 / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7847, allocations: 0 / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.7847, allocations: 0 / 0.9553 GB, free: 6.926 MB / 0.7169 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.0004154/0.7851, allocations: 360.6 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7851, allocations: 9.219 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.7852, allocations: 35.92 kB / 0.9557 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.7852, allocations: 5.219 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.7853, allocations: 166.6 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.7853, allocations: 1.219 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.7853, allocations: 6.906 kB / 0.9558 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.7855, allocations: 75.89 kB / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.7855, allocations: 0 / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7856, allocations: 4.984 kB / 0.9559 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7856, allocations: 1.281 kB / 0.9559 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.7858, allocations: 67.66 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.7862, allocations: 284.4 kB / 0.9562 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.7864, allocations: 71.94 kB / 0.9563 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.585e-05/0.7865, allocations: 40 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.7865, allocations: 4 kB / 0.9563 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.7865, allocations: 35.59 kB / 0.9564 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7865, allocations: 0.9688 kB / 0.9564 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003796/0.7869, allocations: 122.9 kB / 0.9565 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.7869, allocations: 52.59 kB / 0.9565 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/0.787, allocations: 110.1 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.787, allocations: 26.89 kB / 0.9567 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.787, allocations: 93.27 kB / 0.9568 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.7871, allocations: 10.22 kB / 0.9568 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.7871, allocations: 0 / 0.9568 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.7871, allocations: 324 kB / 0.9571 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.7872, allocations: 25.08 kB / 0.9571 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.7873, allocations: 37.22 kB / 0.9571 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.018e-05/0.7874, allocations: 26.2 kB / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7874, allocations: 0 / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002106/0.7877, allocations: 98.09 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7877, allocations: 6 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7877, allocations: 1.406 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7877, allocations: 336 / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.7878, allocations: 17.64 kB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7878, allocations: 1.312 kB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.7879, allocations: 20.27 kB / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.7879, allocations: 5.469 kB / 0.9573 GB, free: 4.961 MB / 0.7169 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 6.151e-05/0.788, allocations: 111.2 kB / 0.9574 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.788, allocations: 6.516 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.7881, allocations: 9.312 kB / 0.9574 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.7881, allocations: 7.922 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7881, allocations: 1.438 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7881, allocations: 0 / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.7882, allocations: 171.3 kB / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7882, allocations: 0 / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.7883, allocations: 23.27 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7883, allocations: 0 / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.7883, allocations: 9.031 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7883, allocations: 0 / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7884, allocations: 3.984 kB / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.7886, allocations: 193.8 kB / 0.9578 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.7886, allocations: 78.64 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.7886, allocations: 1.344 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.7887, allocations: 14.88 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.7888, allocations: 11.73 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.7888, allocations: 5.969 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.7889, allocations: 96.86 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7889, allocations: 0 / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002139/0.7891, allocations: 6.094 kB / 0.958 GB, free: 4.223 MB / 0.7169 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.0004499/0.7895, allocations: 0.7239 MB / 0.9587 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.7898, allocations: 71.8 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7898, allocations: 4 kB / 0.9588 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.7899, allocations: 34.88 kB / 0.9588 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.7902, allocations: 11.59 kB / 0.9589 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.791, allocations: 480.2 kB / 0.9593 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.7912, allocations: 0.6937 MB / 0.96 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.741e-05/0.7912, allocations: 2.156 kB / 0.96 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.7913, allocations: 15.56 kB / 0.96 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7913, allocations: 0 / 0.96 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.8028, allocations: 1.519 MB / 0.9615 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.803, allocations: 217.7 kB / 0.9617 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.55, allocations: 3.938 kB / 0.9617 GB, free: 1.398 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat