Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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.0009579/0.000958, allocations: 84.38 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.001229/0.001229, 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.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.545/2.545, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7323, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.001135/0.7335, allocations: 495.1 kB / 0.9816 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.7347, allocations: 0.8507 MB / 0.9825 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.7348, allocations: 0 / 0.9825 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.7348, allocations: 3.938 kB / 0.9825 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.735, allocations: 11.91 kB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.7351, allocations: 31.97 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.7353, allocations: 75.83 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.7354, allocations: 20.2 kB / 0.9826 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.7355, allocations: 31.86 kB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.7356, allocations: 43.81 kB / 0.9827 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.7357, allocations: 4 kB / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.7357, allocations: 4 kB / 0.9827 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.7357, allocations: 15.92 kB / 0.9827 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.7358, allocations: 37.64 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.7359, allocations: 67.83 kB / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7359, allocations: 0 / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7359, allocations: 0 / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7359, allocations: 4 kB / 0.9828 GB, free: 4.566 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.0006835/0.7366, allocations: 393.3 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7367, allocations: 8.031 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.7367, allocations: 42.5 kB / 0.9832 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.7368, allocations: 11.84 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.7369, allocations: 171 kB / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.737, allocations: 8 kB / 0.9834 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.737, allocations: 4 kB / 0.9834 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.7374, allocations: 121.6 kB / 0.9835 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7374, allocations: 0 / 0.9835 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.7374, allocations: 4 kB / 0.9835 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.7374, allocations: 7.984 kB / 0.9835 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.7378, allocations: 119.8 kB / 0.9836 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.7385, allocations: 356.6 kB / 0.984 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.7392, allocations: 134.5 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.7394, allocations: 64.81 kB / 0.9842 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.7394, allocations: 0 / 0.9842 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.7395, allocations: 30.56 kB / 0.9842 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7395, allocations: 4 kB / 0.9842 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0007359/0.7402, allocations: 213.5 kB / 0.9844 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.7403, allocations: 55.39 kB / 0.9845 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.7404, allocations: 128.8 kB / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.7405, allocations: 25.7 kB / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.7406, allocations: 104 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.7406, allocations: 23.64 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.7406, allocations: 0 / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7408, allocations: 322.8 kB / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.741, allocations: 59.95 kB / 0.9851 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.7412, allocations: 55.95 kB / 0.9852 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.7414, allocations: 60.42 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.7414, allocations: 0 / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003848/0.7418, allocations: 157.6 kB / 0.9854 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.7419, allocations: 4 kB / 0.9854 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7419, allocations: 0 / 0.9854 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7419, allocations: 0 / 0.9854 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.7421, allocations: 31.91 kB / 0.9854 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7421, allocations: 15.92 kB / 0.9854 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.7422, allocations: 19.89 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.7422, allocations: 3.938 kB / 0.9854 GB, free: 1.637 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 0.0001023/0.7423, allocations: 121.8 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.7424, allocations: 4 kB / 0.9856 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.7424, allocations: 12.36 kB / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7424, allocations: 8 kB / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7424, allocations: 0 / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7424, allocations: 0 / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.7427, allocations: 205.5 kB / 0.9858 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7427, allocations: 4 kB / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.7428, allocations: 27.97 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7428, allocations: 0 / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.7429, allocations: 4 kB / 0.9858 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7429, allocations: 4 kB / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7429, allocations: 4 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.7433, allocations: 255.3 kB / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.7434, allocations: 89 kB / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.7434, allocations: 0 / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.7436, allocations: 23.97 kB / 0.9862 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.7436, allocations: 19.97 kB / 0.9862 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.7437, allocations: 4 kB / 0.9862 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.429e-05/0.7437, allocations: 99.27 kB / 0.9863 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7437, allocations: 0 / 0.9863 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002358/0.744, allocations: 15.91 kB / 0.9863 GB, free: 0.6562 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.0008079/0.7448, allocations: 0.7904 MB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.7452, allocations: 139.9 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7452, allocations: 0 / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.7455, allocations: 71.89 kB / 0.9873 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.7458, allocations: 13.36 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.7471, allocations: 0.6733 MB / 0.9879 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.7474, allocations: 0.6926 MB / 0.9886 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.607e-05/0.7475, allocations: 8.188 kB / 0.9886 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.7475, allocations: 27.42 kB / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.7476, allocations: 0 / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.7603, allocations: 2.3 MB / 0.9909 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.7605, allocations: 199.4 kB / 0.9911 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.485, allocations: 3.094 kB / 0.9911 GB, free: 11.77 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat