Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.001268/0.001268, allocations: 99.78 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.001465/0.001465, allocations: 177.3 kB / 15.95 MB, free: 216 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.913/1.913, allocations: 223.2 MB / 239.9 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 3.417/3.417, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003989, allocations: 16 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.134, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.00132/1.135, allocations: 495.9 kB / 0.9813 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001614/1.137, allocations: 0.8507 MB / 0.9822 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/1.137, allocations: 0 / 0.9822 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/1.137, allocations: 11.92 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/1.137, allocations: 7.984 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/1.138, allocations: 27.97 kB / 0.9822 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/1.138, allocations: 47.88 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/1.138, allocations: 19.98 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/1.138, allocations: 35.89 kB / 0.9823 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/1.138, allocations: 35.84 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/1.138, allocations: 4 kB / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/1.138, allocations: 4 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/1.138, allocations: 15.91 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/1.138, allocations: 37.64 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/1.138, allocations: 55.86 kB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.139, allocations: 0 / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.196e-06/1.139, allocations: 0 / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.139, allocations: 0 / 0.9825 GB, free: 4.613 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008823/1.139, allocations: 397.4 kB / 0.9828 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.139, allocations: 8.031 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.563e-05/1.14, allocations: 38.56 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/1.14, allocations: 11.91 kB / 0.9829 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/1.14, allocations: 182.8 kB / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/1.14, allocations: 8 kB / 0.9831 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/1.14, allocations: 8 kB / 0.9831 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/1.14, allocations: 112.6 kB / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.14, allocations: 4 kB / 0.9832 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/1.141, allocations: 3.938 kB / 0.9832 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.141, allocations: 4 kB / 0.9832 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/1.141, allocations: 123.8 kB / 0.9833 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/1.142, allocations: 344.6 kB / 0.9837 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/1.143, allocations: 138.5 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/1.143, allocations: 0 / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/1.143, allocations: 30.56 kB / 0.9838 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.143, allocations: 4 kB / 0.9838 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0012/1.144, allocations: 217.6 kB / 0.984 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.144, allocations: 51.41 kB / 0.9841 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/1.145, allocations: 121.8 kB / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/1.145, allocations: 25.7 kB / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/1.145, allocations: 107.9 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/1.145, allocations: 19.75 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/1.145, allocations: 4 kB / 0.9843 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.145, allocations: 318.8 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/1.145, allocations: 59.95 kB / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/1.146, allocations: 55.95 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/1.146, allocations: 55.95 kB / 0.9848 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.146, allocations: 4 kB / 0.9848 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006968/1.147, allocations: 153.5 kB / 0.985 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.147, allocations: 4 kB / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.147, allocations: 0 / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.147, allocations: 0 / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/1.147, allocations: 31.97 kB / 0.985 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.147, allocations: 3.938 kB / 0.985 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/1.147, allocations: 27.97 kB / 0.985 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/1.147, allocations: 0 / 0.985 GB, free: 1.77 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001489/1.147, allocations: 117.8 kB / 0.9851 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/1.147, allocations: 7.906 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/1.148, allocations: 16.34 kB / 0.9852 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.148, allocations: 0 / 0.9852 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.148, allocations: 4 kB / 0.9852 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.148, allocations: 0 / 0.9852 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/1.148, allocations: 197.6 kB / 0.9854 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.148, allocations: 3.984 kB / 0.9854 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/1.148, allocations: 31.97 kB / 0.9854 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.148, allocations: 0 / 0.9854 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.148, allocations: 4 kB / 0.9854 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.148, allocations: 0 / 0.9854 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.148, allocations: 0 / 0.9854 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/1.149, allocations: 263.3 kB / 0.9856 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/1.149, allocations: 88.91 kB / 0.9857 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/1.149, allocations: 4 kB / 0.9857 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/1.149, allocations: 19.98 kB / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.15, allocations: 19.97 kB / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/1.15, allocations: 7.984 kB / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.501e-05/1.15, allocations: 103.2 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.15, allocations: 0 / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004639/1.15, allocations: 15.94 kB / 0.9859 GB, free: 0.7852 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00124/1.151, allocations: 0.7904 MB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006893/1.152, allocations: 120.6 kB / 0.9868 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.152, allocations: 0 / 0.9868 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/1.152, allocations: 79.88 kB / 0.9869 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/1.153, allocations: 9.719 kB / 0.9869 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/1.155, allocations: 0.6486 MB / 0.9875 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/1.156, allocations: 0.7019 MB / 0.9882 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000136/1.156, allocations: 8.188 kB / 0.9882 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.156, allocations: 35.41 kB / 0.9882 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/1.156, allocations: 0 / 0.9882 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/1.177, allocations: 2.228 MB / 0.9904 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/1.178, allocations: 192.6 kB / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.527, allocations: 7.75 kB / 0.9906 GB, free: 11.97 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat does not exist to compare? outputFormat=mat