Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.001028/0.001028, allocations: 86.72 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.0008527/0.0008528, 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.475/1.475, allocations: 223.2 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.668/2.668, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003442, allocations: 12 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7905, allocations: 146.8 MB / 0.9812 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007828/0.7913, allocations: 280 kB / 0.9814 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 3.674e-05/0.7914, allocations: 4 kB / 0.9814 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.7914, allocations: 0 / 0.9814 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.7914, allocations: 4 kB / 0.9815 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.898e-05/0.7914, allocations: 0 / 0.9815 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.262e-05/0.7915, allocations: 0 / 0.9815 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.7915, allocations: 7.938 kB / 0.9815 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/0.7916, allocations: 0 / 0.9815 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.7916, allocations: 3.984 kB / 0.9815 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.101e-05/0.7916, allocations: 0 / 0.9815 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.7917, allocations: 0 / 0.9815 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-06/0.7917, allocations: 0 / 0.9815 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-06/0.7918, allocations: 4 kB / 0.9815 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.7918, allocations: 25.7 kB / 0.9815 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.843e-05/0.7919, allocations: 4 kB / 0.9815 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7919, allocations: 0 / 0.9815 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7919, allocations: 3.984 kB / 0.9815 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.7919, allocations: 0 / 0.9815 GB, free: 5.934 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.0002957/0.7922, allocations: 311.4 kB / 0.9818 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.7922, allocations: 8.031 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.7923, allocations: 30.56 kB / 0.9818 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.7923, allocations: 3.906 kB / 0.9818 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.7925, allocations: 163 kB / 0.982 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.7925, allocations: 4 kB / 0.982 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.7925, allocations: 7.938 kB / 0.982 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/0.7926, allocations: 33.64 kB / 0.982 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7926, allocations: 0 / 0.982 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.7926, allocations: 0 / 0.982 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7926, allocations: 0 / 0.982 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.774e-05/0.7927, allocations: 4 kB / 0.982 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.793, allocations: 383.5 kB / 0.9824 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.7932, allocations: 177 kB / 0.9826 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.7932, allocations: 84.08 kB / 0.9827 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.7933, allocations: 75.28 kB / 0.9827 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.7933, allocations: 105.8 kB / 0.9828 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7933, allocations: 4 kB / 0.9828 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.75e-05/0.7934, allocations: 33.64 kB / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.7935, allocations: 126.7 kB / 0.983 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.7936, allocations: 97.84 kB / 0.9831 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.7936, allocations: 29.7 kB / 0.9831 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.7936, allocations: 80.14 kB / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.7936, allocations: 0 / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.7936, allocations: 0 / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7938, allocations: 315 kB / 0.9835 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.7938, allocations: 0 / 0.9835 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.7938, allocations: 0 / 0.9835 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.7938, allocations: 75.28 kB / 0.9836 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-05/0.7938, allocations: 75.28 kB / 0.9836 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.3e-05/0.7939, allocations: 33.66 kB / 0.9837 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.794, allocations: 79.28 kB / 0.9837 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/0.794, allocations: 83.22 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.905e-05/0.7941, allocations: 162.5 kB / 0.984 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.822e-05/0.7941, allocations: 81.52 kB / 0.984 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-05/0.7942, allocations: 150.6 kB / 0.9842 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.7943, allocations: 79.28 kB / 0.9843 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.7943, allocations: 83.25 kB / 0.9843 GB, free: 2.781 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.0001169/0.7944, allocations: 260.4 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.7945, allocations: 108.9 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.7945, allocations: 116 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.7946, allocations: 176.3 kB / 0.985 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/0.7947, allocations: 184.1 kB / 0.9851 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.29e-05/0.7948, allocations: 176.3 kB / 0.9853 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.795, allocations: 409.2 kB / 0.9857 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/0.795, allocations: 104.9 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.7951, allocations: 101 kB / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.106e-05/0.7952, allocations: 184.2 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.7953, allocations: 184.2 kB / 0.9863 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/0.7954, allocations: 184.3 kB / 0.9864 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-05/0.7954, allocations: 184.2 kB / 0.9866 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.7956, allocations: 299.8 kB / 0.9869 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.7958, allocations: 190.5 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.7959, allocations: 180.3 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.796, allocations: 116.9 kB / 0.9874 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7961, allocations: 180.3 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.7962, allocations: 116.8 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.7963, allocations: 75.28 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7963, allocations: 0 / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002944/0.7966, allocations: 0 / 0.9877 GB, free: 15.11 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.0008142/0.7974, allocations: 0.805 MB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.7975, allocations: 7.938 kB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7975, allocations: 0 / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-06/0.7975, allocations: 0 / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.798, allocations: 0.5263 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.0007839/0.7988, allocations: 497.6 kB / 0.9895 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.7992, allocations: 0.6732 MB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.211e-05/0.7992, allocations: 3.938 kB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.7992, allocations: 7.438 kB / 0.9902 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.7993, allocations: 4 kB / 0.9902 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.812, allocations: 0.7293 MB / 0.9909 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.8122, allocations: 209.2 kB / 0.9911 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.666, allocations: 6.031 kB / 0.9911 GB, free: 11.68 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat