Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",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.001072/0.001072, allocations: 98.77 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.001402/0.001401, 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.584/1.584, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.135/3.135, allocations: 409.2 MB / 0.6838 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006686/0.0006688, allocations: 11.98 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.012, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001203/1.014, allocations: 432 kB / 0.9813 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001319/1.015, allocations: 0.8235 MB / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/1.015, allocations: 0 / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/1.015, allocations: 0 / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/1.015, allocations: 3.938 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/1.015, allocations: 27.91 kB / 0.9821 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.866e-05/1.015, allocations: 19.97 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/1.016, allocations: 19.92 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/1.016, allocations: 15.92 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/1.016, allocations: 23.91 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/1.016, allocations: 0 / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/1.016, allocations: 4 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/1.016, allocations: 7.984 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/1.016, allocations: 33.64 kB / 0.9822 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.543e-05/1.016, allocations: 23.94 kB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.016, allocations: 4 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.565e-06/1.016, allocations: 0 / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.203e-06/1.016, allocations: 4 kB / 0.9823 GB, free: 4.824 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006143/1.017, allocations: 353.5 kB / 0.9826 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/1.017, allocations: 8.031 kB / 0.9826 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/1.017, allocations: 30.56 kB / 0.9826 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/1.017, allocations: 7.906 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/1.017, allocations: 167 kB / 0.9828 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.017, allocations: 8 kB / 0.9828 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/1.017, allocations: 3.984 kB / 0.9828 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/1.017, allocations: 85.52 kB / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.017, allocations: 0 / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.017, allocations: 0 / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.017, allocations: 4 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/1.018, allocations: 63.95 kB / 0.983 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/1.018, allocations: 280.8 kB / 0.9832 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/1.019, allocations: 78.5 kB / 0.9833 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/1.019, allocations: 0 / 0.9833 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.019, allocations: 34.56 kB / 0.9833 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.019, allocations: 3.938 kB / 0.9833 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0006057/1.019, allocations: 121.8 kB / 0.9835 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/1.019, allocations: 51.41 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.019, allocations: 109.8 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/1.019, allocations: 29.64 kB / 0.9836 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/1.02, allocations: 100 kB / 0.9837 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/1.02, allocations: 7.844 kB / 0.9837 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/1.02, allocations: 0 / 0.9837 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.02, allocations: 314.8 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.02, allocations: 31.97 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/1.02, allocations: 27.98 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/1.02, allocations: 27.97 kB / 0.9841 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.02, allocations: 4 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003543/1.021, allocations: 101.5 kB / 0.9842 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.021, allocations: 4 kB / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/1.021, allocations: 7.922 kB / 0.9842 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.021, allocations: 0 / 0.9842 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.021, allocations: 15.98 kB / 0.9843 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.021, allocations: 0 / 0.9843 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/1.021, allocations: 11.94 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/1.021, allocations: 4 kB / 0.9843 GB, free: 2.543 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: 2 (addPar.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 0.0001237/1.021, allocations: 117.8 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/1.021, allocations: 3.953 kB / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/1.021, allocations: 7.906 kB / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.021, allocations: 0 / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.021, allocations: 0 / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.021, allocations: 0 / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/1.022, allocations: 181.7 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.022, allocations: 4 kB / 0.9846 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.022, allocations: 16.31 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/1.022, allocations: 7.953 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/1.022, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.022, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.022, allocations: 3.938 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/1.022, allocations: 203.3 kB / 0.9848 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/1.022, allocations: 77.11 kB / 0.9849 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/1.022, allocations: 3.953 kB / 0.9849 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.022, allocations: 11.98 kB / 0.9849 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/1.022, allocations: 11.98 kB / 0.9849 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/1.022, allocations: 0 / 0.9849 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.938e-05/1.023, allocations: 91.27 kB / 0.985 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.023, allocations: 0 / 0.985 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003596/1.023, allocations: 8 kB / 0.985 GB, free: 1.711 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: 2 (addPar.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.0009184/1.024, allocations: 0.728 MB / 0.9857 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003446/1.024, allocations: 67.88 kB / 0.9858 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.024, allocations: 4 kB / 0.9858 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.024, allocations: 27.98 kB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/1.025, allocations: 17.31 kB / 0.9858 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.026, allocations: 482.3 kB / 0.9863 GB, free: 328 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/1.026, allocations: 0.6888 MB / 0.9869 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.165e-05/1.026, allocations: 4 kB / 0.987 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/1.027, allocations: 15.42 kB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/1.027, allocations: 0 / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/1.043, allocations: 1.504 MB / 0.9884 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/1.043, allocations: 196 kB / 0.9886 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.559, allocations: 5.969 kB / 0.9886 GB, free: 13.99 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat does not exist to compare? outputFormat=mat