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.0009365/0.0009366, allocations: 91.84 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.001265/0.001265, 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.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.678/2.678, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004759, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.813, allocations: 146.8 MB / 0.9812 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001242/0.8143, allocations: 421.6 kB / 0.9816 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.8154, allocations: 0.8258 MB / 0.9824 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.8155, allocations: 0 / 0.9824 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.8155, allocations: 7.938 kB / 0.9824 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.8156, allocations: 3.938 kB / 0.9824 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.8157, allocations: 27.97 kB / 0.9824 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.8158, allocations: 35.91 kB / 0.9824 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.8159, allocations: 12 kB / 0.9824 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.816, allocations: 15.86 kB / 0.9825 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.8161, allocations: 23.91 kB / 0.9825 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.8161, allocations: 3.984 kB / 0.9825 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.8161, allocations: 8 kB / 0.9825 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.8161, allocations: 4 kB / 0.9825 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.8162, allocations: 33.64 kB / 0.9825 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.933e-05/0.8162, allocations: 27.92 kB / 0.9826 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8163, allocations: 0 / 0.9826 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8163, allocations: 0 / 0.9826 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.8163, allocations: 0 / 0.9826 GB, free: 4.953 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.0004802/0.8168, allocations: 349.7 kB / 0.9829 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8168, allocations: 12.03 kB / 0.9829 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.8169, allocations: 38.55 kB / 0.9829 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.8169, allocations: 7.906 kB / 0.9829 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.817, allocations: 163 kB / 0.9831 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.8171, allocations: 4 kB / 0.9831 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.8171, allocations: 0 / 0.9831 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.8173, allocations: 85.53 kB / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.8173, allocations: 0 / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.8173, allocations: 4 kB / 0.9832 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.8173, allocations: 4 kB / 0.9832 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.8175, allocations: 59.94 kB / 0.9833 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.818, allocations: 288.8 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.8182, allocations: 70.52 kB / 0.9836 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.8184, allocations: 40.88 kB / 0.9836 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.8184, allocations: 0 / 0.9836 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.8184, allocations: 34.56 kB / 0.9837 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.8184, allocations: 0 / 0.9837 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.00044/0.8189, allocations: 121.6 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.819, allocations: 55.34 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.8191, allocations: 109.8 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.8191, allocations: 25.7 kB / 0.984 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.8192, allocations: 96.03 kB / 0.9841 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.8192, allocations: 15.78 kB / 0.9841 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.8192, allocations: 0 / 0.9841 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8194, allocations: 318.8 kB / 0.9844 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.8195, allocations: 27.97 kB / 0.9844 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.8196, allocations: 31.91 kB / 0.9844 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.8197, allocations: 32.27 kB / 0.9845 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8197, allocations: 0 / 0.9845 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002402/0.8199, allocations: 105.5 kB / 0.9846 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.82, allocations: 8 kB / 0.9846 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.82, allocations: 0 / 0.9846 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.82, allocations: 4 kB / 0.9846 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.8201, allocations: 15.92 kB / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8201, allocations: 0 / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.8202, allocations: 11.98 kB / 0.9846 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.8202, allocations: 0 / 0.9846 GB, free: 2.629 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 9.104e-05/0.8203, allocations: 117.8 kB / 0.9847 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.8203, allocations: 7.953 kB / 0.9847 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.8204, allocations: 3.906 kB / 0.9847 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8204, allocations: 0 / 0.9847 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8204, allocations: 0 / 0.9847 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8204, allocations: 0 / 0.9847 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.8206, allocations: 181.7 kB / 0.9849 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8206, allocations: 0 / 0.9849 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.8207, allocations: 19.98 kB / 0.9849 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8207, allocations: 7.953 kB / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.8207, allocations: 0 / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8207, allocations: 320 / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8207, allocations: 0 / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.821, allocations: 199.3 kB / 0.9851 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.821, allocations: 81.09 kB / 0.9852 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.8211, allocations: 3.953 kB / 0.9852 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.8212, allocations: 8 kB / 0.9852 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.8212, allocations: 11.98 kB / 0.9852 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.8212, allocations: 3.984 kB / 0.9852 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.8213, allocations: 91.27 kB / 0.9853 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.523e-06/0.8213, allocations: 0 / 0.9853 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002121/0.8215, allocations: 11.94 kB / 0.9853 GB, free: 1.797 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.0006033/0.8221, allocations: 0.7319 MB / 0.986 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.8224, allocations: 63.94 kB / 0.9861 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8224, allocations: 0 / 0.9861 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8225, allocations: 39.97 kB / 0.9861 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.8228, allocations: 10.91 kB / 0.9861 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.8238, allocations: 482.3 kB / 0.9866 GB, free: 416 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.8241, allocations: 0.6809 MB / 0.9873 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.43e-05/0.8241, allocations: 8 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.8242, allocations: 15.42 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.8242, allocations: 0 / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.8361, allocations: 1.518 MB / 0.9888 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.8364, allocations: 194.1 kB / 0.989 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.637, allocations: 2.25 kB / 0.989 GB, free: 14.08 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