Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.0008865/0.0008866, allocations: 86.72 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.0009095/0.0009095, 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.425/1.425, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.626/2.626, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 19.94 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.8519, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001034/0.853, allocations: 487.8 kB / 0.9816 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.8542, allocations: 0.8546 MB / 0.9825 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.8543, allocations: 0 / 0.9825 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.8544, allocations: 0 / 0.9825 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.8545, allocations: 11.92 kB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.8547, allocations: 35.95 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.8548, allocations: 67.78 kB / 0.9826 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.8549, allocations: 27.97 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.855, allocations: 23.92 kB / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.8551, allocations: 43.81 kB / 0.9827 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.8551, allocations: 4 kB / 0.9827 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.8551, allocations: 4 kB / 0.9827 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.8552, allocations: 15.92 kB / 0.9827 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.8552, allocations: 33.7 kB / 0.9827 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.66e-05/0.8553, allocations: 59.84 kB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8553, allocations: 4 kB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8553, allocations: 0 / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8554, allocations: 3.938 kB / 0.9828 GB, free: 4.582 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.0006403/0.856, allocations: 389.3 kB / 0.9831 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.856, allocations: 8.031 kB / 0.9832 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.8561, allocations: 38.56 kB / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.8561, allocations: 11.84 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.8563, allocations: 178.9 kB / 0.9834 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.8563, allocations: 4 kB / 0.9834 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.8564, allocations: 8 kB / 0.9834 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.8567, allocations: 119.9 kB / 0.9835 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.8567, allocations: 3.984 kB / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.8567, allocations: 0 / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.8567, allocations: 3.938 kB / 0.9835 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.8571, allocations: 127.9 kB / 0.9836 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.8577, allocations: 344.6 kB / 0.984 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.8583, allocations: 130.5 kB / 0.9841 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.8585, allocations: 68.8 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.8585, allocations: 0 / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.8585, allocations: 38.55 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.8585, allocations: 4 kB / 0.9842 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006574/0.8592, allocations: 217.4 kB / 0.9844 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.8592, allocations: 55.41 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.8594, allocations: 117.8 kB / 0.9846 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.8594, allocations: 29.7 kB / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.8594, allocations: 88.05 kB / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.8595, allocations: 23.73 kB / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-06/0.8595, allocations: 4 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8596, allocations: 322.8 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.8598, allocations: 51.95 kB / 0.9851 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.86, allocations: 59.95 kB / 0.9851 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.8602, allocations: 55.95 kB / 0.9852 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8602, allocations: 7.938 kB / 0.9852 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000387/0.8606, allocations: 161.5 kB / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8606, allocations: 4 kB / 0.9853 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8606, allocations: 0 / 0.9853 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8606, allocations: 0 / 0.9853 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.8608, allocations: 35.91 kB / 0.9854 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8608, allocations: 4 kB / 0.9854 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.8609, allocations: 19.98 kB / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.8609, allocations: 3.984 kB / 0.9854 GB, free: 1.676 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 (max1.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 9.127e-05/0.861, allocations: 117.8 kB / 0.9855 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.8611, allocations: 7.906 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.8615, allocations: 169.9 kB / 0.9857 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8615, allocations: 3.938 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8616, allocations: 0 / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8616, allocations: 7.984 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.8618, allocations: 201.6 kB / 0.9859 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8618, allocations: 0 / 0.9859 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.8619, allocations: 31.97 kB / 0.9859 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.862, allocations: 4 kB / 0.9859 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.862, allocations: 7.984 kB / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.862, allocations: 0 / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.862, allocations: 0 / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.8624, allocations: 259.4 kB / 0.9862 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.8625, allocations: 84.97 kB / 0.9862 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.8625, allocations: 8 kB / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.8626, allocations: 15.98 kB / 0.9863 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.8627, allocations: 19.91 kB / 0.9863 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.8627, allocations: 4 kB / 0.9863 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.8628, allocations: 103.6 kB / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8628, allocations: 0 / 0.9864 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002371/0.863, allocations: 15.94 kB / 0.9864 GB, free: 0.5312 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 (max1.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.0007572/0.8638, allocations: 0.793 MB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.8642, allocations: 135.9 kB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8642, allocations: 7.938 kB / 0.9873 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.8644, allocations: 75.94 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.8648, allocations: 4 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.8661, allocations: 0.6523 MB / 0.988 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.8663, allocations: 0.6862 MB / 0.9887 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.824e-05/0.8664, allocations: 16.17 kB / 0.9887 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.8665, allocations: 27.42 kB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.8665, allocations: 0 / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.8798, allocations: 2.25 MB / 0.9909 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.88, allocations: 190.4 kB / 0.9911 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.72, allocations: 0 / 0.9911 GB, free: 11.69 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat does not exist to compare? outputFormat=mat