Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.001203/0.001203, allocations: 92 kB / 15.06 MB, free: 1.098 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.001908/0.001907, allocations: 172.7 kB / 15.95 MB, free: 208 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.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.542/2.542, allocations: 409.4 MB / 0.684 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 12 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8679, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001202/0.8692, allocations: 499.7 kB / 0.9816 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.8701, allocations: 0.8546 MB / 0.9825 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.8702, allocations: 0 / 0.9825 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.8702, allocations: 3.984 kB / 0.9825 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.8703, allocations: 3.938 kB / 0.9825 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.8705, allocations: 39.91 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.8706, allocations: 71.81 kB / 0.9826 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.8707, allocations: 27.98 kB / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.8708, allocations: 23.92 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.8709, allocations: 43.81 kB / 0.9827 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.8709, allocations: 4 kB / 0.9827 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.8709, allocations: 4 kB / 0.9827 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.871, allocations: 15.92 kB / 0.9827 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.871, allocations: 33.7 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.8711, allocations: 63.78 kB / 0.9828 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.8711, allocations: 4 kB / 0.9828 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8711, allocations: 0 / 0.9828 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.8711, allocations: 0 / 0.9828 GB, free: 4.605 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.0006094/0.8717, allocations: 385.4 kB / 0.9831 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/0.8718, allocations: 16.03 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.8719, allocations: 34.55 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.8719, allocations: 7.906 kB / 0.9832 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.8721, allocations: 174.9 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.8721, allocations: 4 kB / 0.9834 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.8722, allocations: 8 kB / 0.9834 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.8725, allocations: 121.5 kB / 0.9835 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.8725, allocations: 0 / 0.9835 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8725, allocations: 0 / 0.9835 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8725, allocations: 0 / 0.9835 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.8729, allocations: 123.9 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.8735, allocations: 348.6 kB / 0.984 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.874, allocations: 134.5 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.8742, allocations: 76.8 kB / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.8743, allocations: 0 / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.8743, allocations: 30.56 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.8743, allocations: 0 / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006312/0.875, allocations: 221.4 kB / 0.9844 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.875, allocations: 51.41 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.8751, allocations: 121.8 kB / 0.9846 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.8752, allocations: 25.7 kB / 0.9846 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.8753, allocations: 100 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.8753, allocations: 19.69 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.8754, allocations: 8 kB / 0.9847 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.8756, allocations: 318.8 kB / 0.985 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.8758, allocations: 59.95 kB / 0.9851 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.8759, allocations: 55.95 kB / 0.9851 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.8761, allocations: 51.97 kB / 0.9852 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.8761, allocations: 4 kB / 0.9852 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004002/0.8765, allocations: 161.4 kB / 0.9853 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8766, allocations: 5.719 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.8766, allocations: 0 / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8766, allocations: 4 kB / 0.9853 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.8768, allocations: 27.97 kB / 0.9854 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.8768, allocations: 0 / 0.9854 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.8769, allocations: 19.98 kB / 0.9854 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.8769, allocations: 7.984 kB / 0.9854 GB, free: 1.711 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 (add1.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.832e-05/0.877, allocations: 113.8 kB / 0.9855 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.877, allocations: 7.906 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.8771, allocations: 16.38 kB / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.8771, allocations: 0 / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8771, allocations: 3.938 kB / 0.9855 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8771, allocations: 0 / 0.9855 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.8773, allocations: 209.5 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8774, allocations: 0 / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.8775, allocations: 27.97 kB / 0.9857 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.8775, allocations: 3.938 kB / 0.9858 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.8775, allocations: 0 / 0.9858 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.8775, allocations: 3.984 kB / 0.9858 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8775, allocations: 8 kB / 0.9858 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.878, allocations: 251.4 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.8781, allocations: 96.94 kB / 0.9861 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.8781, allocations: 0 / 0.9861 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.8782, allocations: 15.98 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.8783, allocations: 23.97 kB / 0.9861 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.8783, allocations: 0 / 0.9861 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.8784, allocations: 95.27 kB / 0.9862 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8784, allocations: 4 kB / 0.9862 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00023/0.8786, allocations: 19.94 kB / 0.9862 GB, free: 0.7305 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 (add1.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.0009644/0.8796, allocations: 0.7949 MB / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.88, allocations: 127.9 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.88, allocations: 0 / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.8802, allocations: 80.06 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.8805, allocations: 11.98 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.8818, allocations: 0.6525 MB / 0.9879 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.8822, allocations: 0.6933 MB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.079e-05/0.8823, allocations: 12.19 kB / 0.9886 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.8823, allocations: 27.41 kB / 0.9886 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8824, allocations: 0 / 0.9886 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.8951, allocations: 2.242 MB / 0.9908 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.8953, allocations: 194.5 kB / 0.991 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.689, allocations: 4 kB / 0.991 GB, free: 11.89 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat