Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.001089/0.001089, allocations: 98.92 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.001073/0.001073, 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.86/1.86, 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 4.317/4.317, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005811/0.0005821, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406/1.406, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001347/1.408, allocations: 491.7 kB / 0.9813 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001628/1.409, allocations: 0.8547 MB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/1.41, allocations: 3.938 kB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/1.41, allocations: 3.938 kB / 0.9822 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/1.41, allocations: 11.91 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/1.41, allocations: 35.89 kB / 0.9822 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/1.41, allocations: 47.95 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/1.41, allocations: 19.97 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/1.41, allocations: 27.86 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/1.411, allocations: 39.88 kB / 0.9824 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/1.411, allocations: 7.938 kB / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/1.411, allocations: 4 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/1.411, allocations: 15.98 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/1.411, allocations: 33.64 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/1.411, allocations: 63.84 kB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.411, allocations: 0 / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/1.411, allocations: 4 kB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.677e-06/1.411, allocations: 0 / 0.9825 GB, free: 4.609 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.0008139/1.412, allocations: 387.3 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.412, allocations: 8.031 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/1.412, allocations: 38.56 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/1.412, allocations: 11.89 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/1.412, allocations: 170.9 kB / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/1.412, allocations: 7.938 kB / 0.9831 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/1.412, allocations: 8 kB / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/1.413, allocations: 120.8 kB / 0.9832 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.413, allocations: 0 / 0.9832 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/1.413, allocations: 8 kB / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.413, allocations: 0 / 0.9832 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/1.413, allocations: 119.9 kB / 0.9833 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/1.414, allocations: 352.5 kB / 0.9837 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.415, allocations: 134.6 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/1.415, allocations: 3.984 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.415, allocations: 30.56 kB / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/1.415, allocations: 0 / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.001143/1.416, allocations: 221.5 kB / 0.984 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/1.417, allocations: 55.41 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/1.417, allocations: 129.7 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.417, allocations: 25.7 kB / 0.9842 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/1.417, allocations: 96.03 kB / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/1.417, allocations: 19.75 kB / 0.9843 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/1.417, allocations: 0 / 0.9843 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.417, allocations: 318.8 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/1.417, allocations: 63.94 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/1.418, allocations: 59.89 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/1.418, allocations: 51.97 kB / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.418, allocations: 0 / 0.9848 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007267/1.419, allocations: 161.4 kB / 0.985 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.419, allocations: 4 kB / 0.985 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.419, allocations: 4 kB / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.419, allocations: 4 kB / 0.985 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/1.419, allocations: 27.97 kB / 0.985 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.419, allocations: 0 / 0.985 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/1.419, allocations: 19.98 kB / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/1.419, allocations: 8.531 kB / 0.985 GB, free: 1.773 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 (min1.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.0001343/1.42, allocations: 121.8 kB / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/1.42, allocations: 3.906 kB / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/1.42, allocations: 177.9 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.42, allocations: 0 / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.421, allocations: 3.984 kB / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.421, allocations: 0 / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/1.421, allocations: 197.6 kB / 0.9855 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.421, allocations: 0 / 0.9855 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/1.421, allocations: 31.97 kB / 0.9855 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.421, allocations: 0 / 0.9855 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/1.421, allocations: 7.984 kB / 0.9856 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.421, allocations: 8.016 kB / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.421, allocations: 3.984 kB / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/1.422, allocations: 255.3 kB / 0.9858 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/1.422, allocations: 88.97 kB / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/1.422, allocations: 4 kB / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/1.422, allocations: 19.98 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/1.423, allocations: 19.97 kB / 0.9859 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/1.423, allocations: 7.984 kB / 0.9859 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.4e-05/1.423, allocations: 95.28 kB / 0.986 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.423, allocations: 0 / 0.986 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004519/1.423, allocations: 19.92 kB / 0.9861 GB, free: 0.625 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 (min1.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.001211/1.424, allocations: 0.7982 MB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000688/1.425, allocations: 123.9 kB / 0.987 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.425, allocations: 0 / 0.987 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000388/1.425, allocations: 75.88 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/1.426, allocations: 11.94 kB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/1.427, allocations: 0.6482 MB / 0.9877 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/1.428, allocations: 0.6965 MB / 0.9883 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001289/1.428, allocations: 12.19 kB / 0.9884 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/1.428, allocations: 31.34 kB / 0.9884 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of SimCode: time 6.32e-07/1.428, allocations: 4 kB / 0.9884 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/1.444, allocations: 2.218 MB / 0.9906 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.444, allocations: 185.9 kB / 0.9907 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.814, allocations: 0 / 0.9907 GB, free: 11.8 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat does not exist to compare? outputFormat=mat