Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.001003/0.001003, allocations: 91.14 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.001027/0.001027, 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.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.546/2.546, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 12 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8336, allocations: 146.8 MB / 0.9812 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00106/0.8348, allocations: 280 kB / 0.9814 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 6.363e-05/0.8349, allocations: 3.938 kB / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.8349, allocations: 0 / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.835, allocations: 0 / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.835, allocations: 0 / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.166e-05/0.8351, allocations: 0 / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.8352, allocations: 8 kB / 0.9814 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.8352, allocations: 0 / 0.9814 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.8353, allocations: 0 / 0.9814 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.8353, allocations: 3.984 kB / 0.9814 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.8353, allocations: 0 / 0.9814 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-06/0.8353, allocations: 4 kB / 0.9814 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.8354, allocations: 4 kB / 0.9815 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.8354, allocations: 29.69 kB / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.525e-05/0.8355, allocations: 0 / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.8355, allocations: 0 / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.041e-06/0.8355, allocations: 0 / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.8355, allocations: 3.938 kB / 0.9815 GB, free: 5.922 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003626/0.8359, allocations: 307.4 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.8359, allocations: 12.02 kB / 0.9818 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.836, allocations: 30.56 kB / 0.9818 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.836, allocations: 7.906 kB / 0.9818 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.8362, allocations: 163.1 kB / 0.982 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.8362, allocations: 0 / 0.982 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.8362, allocations: 4 kB / 0.982 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.8364, allocations: 29.66 kB / 0.982 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8364, allocations: 0 / 0.982 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.8364, allocations: 0 / 0.982 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8364, allocations: 0 / 0.982 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.8364, allocations: 4 kB / 0.982 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.8369, allocations: 387.5 kB / 0.9824 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.837, allocations: 169.1 kB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.837, allocations: 80.14 kB / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.8371, allocations: 75.28 kB / 0.9827 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.8371, allocations: 113.8 kB / 0.9828 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 5.009e-06/0.8372, allocations: 0 / 0.9828 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.767e-05/0.8372, allocations: 41.56 kB / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/0.8373, allocations: 126.7 kB / 0.983 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.8374, allocations: 89.86 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.8375, allocations: 29.7 kB / 0.9831 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.8375, allocations: 80.14 kB / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.8375, allocations: 4.125 kB / 0.9832 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.8375, allocations: 3.938 kB / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8377, allocations: 314.8 kB / 0.9835 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.8377, allocations: 0 / 0.9835 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-06/0.8377, allocations: 0 / 0.9835 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.8377, allocations: 75.28 kB / 0.9835 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.784e-05/0.8378, allocations: 75.28 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.477e-05/0.8379, allocations: 41.58 kB / 0.9836 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.8379, allocations: 83.28 kB / 0.9837 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.8379, allocations: 79.28 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.353e-05/0.838, allocations: 154.5 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.385e-05/0.8381, allocations: 77.58 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.469e-05/0.8381, allocations: 150.6 kB / 0.9842 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.8382, allocations: 87.22 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.8383, allocations: 83.3 kB / 0.9843 GB, free: 2.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001373/0.8384, allocations: 260.4 kB / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.8385, allocations: 108.9 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.8386, allocations: 108.1 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-05/0.8387, allocations: 176.3 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.431e-05/0.8387, allocations: 188.2 kB / 0.9851 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.392e-05/0.8388, allocations: 180.3 kB / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.8392, allocations: 401.2 kB / 0.9857 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.395e-05/0.8392, allocations: 105 kB / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.8393, allocations: 109 kB / 0.9859 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.8394, allocations: 184.2 kB / 0.9861 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.8396, allocations: 184.2 kB / 0.9862 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001212/0.8397, allocations: 180.2 kB / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001238/0.8398, allocations: 176.3 kB / 0.9866 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.8401, allocations: 307.8 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8403, allocations: 186.5 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.8404, allocations: 188.2 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.8406, allocations: 108.9 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8407, allocations: 188.2 kB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.8408, allocations: 109 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.8409, allocations: 75.28 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8409, allocations: 96 / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003301/0.8412, allocations: 4 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0008189/0.842, allocations: 0.8048 MB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.129e-05/0.8421, allocations: 4 kB / 0.9885 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8421, allocations: 4 kB / 0.9885 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.8421, allocations: 0 / 0.9885 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.8427, allocations: 0.5223 MB / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.8436, allocations: 0.5015 MB / 0.9895 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.844, allocations: 0.6731 MB / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.41e-05/0.8441, allocations: 0 / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.8441, allocations: 7.438 kB / 0.9902 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8441, allocations: 0 / 0.9902 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.8554, allocations: 0.7376 MB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.8556, allocations: 198.5 kB / 0.9911 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.672, allocations: 0 / 0.9911 GB, free: 11.68 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat