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.001395/0.001394, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001807/0.001807, 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 2.242/2.242, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.997/3.997, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.0005519, allocations: 16 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378/1.378, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001066/1.379, allocations: 292 kB / 0.9812 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 5.125e-05/1.38, allocations: 0 / 0.9812 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/1.38, allocations: 0 / 0.9812 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/1.38, allocations: 0 / 0.9812 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/1.38, allocations: 4 kB / 0.9812 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.865e-05/1.38, allocations: 0 / 0.9812 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/1.38, allocations: 4 kB / 0.9812 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/1.38, allocations: 4 kB / 0.9812 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/1.38, allocations: 3.938 kB / 0.9812 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/1.38, allocations: 3.938 kB / 0.9812 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/1.38, allocations: 0 / 0.9812 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.52e-06/1.38, allocations: 0 / 0.9812 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/1.38, allocations: 0 / 0.9812 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/1.38, allocations: 25.7 kB / 0.9812 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.755e-05/1.38, allocations: 3.984 kB / 0.9812 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/1.38, allocations: 4 kB / 0.9812 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.365e-06/1.38, allocations: 0 / 0.9812 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.31e-06/1.38, allocations: 4 kB / 0.9812 GB, free: 5.961 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.0004426/1.381, allocations: 305.1 kB / 0.9815 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.926e-05/1.381, allocations: 8.094 kB / 0.9815 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/1.381, allocations: 30.56 kB / 0.9815 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/1.381, allocations: 11.89 kB / 0.9816 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/1.381, allocations: 163.1 kB / 0.9817 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/1.381, allocations: 0 / 0.9817 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/1.381, allocations: 7.938 kB / 0.9817 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/1.381, allocations: 37.59 kB / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.381, allocations: 0 / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.381, allocations: 0 / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.381, allocations: 0 / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/1.381, allocations: 0 / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/1.382, allocations: 379.5 kB / 0.9821 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/1.382, allocations: 177 kB / 0.9823 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/1.382, allocations: 75.28 kB / 0.9824 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.675e-05/1.382, allocations: 113.9 kB / 0.9825 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/1.382, allocations: 0 / 0.9825 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000128/1.383, allocations: 33.69 kB / 0.9825 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.383, allocations: 130.7 kB / 0.9826 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/1.383, allocations: 93.86 kB / 0.9827 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/1.383, allocations: 25.7 kB / 0.9827 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/1.383, allocations: 80.14 kB / 0.9828 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/1.383, allocations: 0 / 0.9828 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-07/1.383, allocations: 0 / 0.9828 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002435/1.383, allocations: 314.8 kB / 0.9831 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/1.383, allocations: 3.938 kB / 0.9831 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/1.383, allocations: 8.062 kB / 0.9831 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/1.383, allocations: 79.28 kB / 0.9832 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-05/1.383, allocations: 75.28 kB / 0.9833 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.301e-05/1.383, allocations: 33.64 kB / 0.9833 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/1.384, allocations: 83.28 kB / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.991e-05/1.384, allocations: 79.22 kB / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/1.384, allocations: 153 kB / 0.9836 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/1.384, allocations: 75.28 kB / 0.9837 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001322/1.384, allocations: 162.5 kB / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/1.384, allocations: 75.28 kB / 0.9839 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/1.384, allocations: 91.25 kB / 0.984 GB, free: 2.887 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.0002178/1.384, allocations: 260.4 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/1.385, allocations: 108.9 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/1.385, allocations: 108.1 kB / 0.9844 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001692/1.385, allocations: 180.2 kB / 0.9846 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001439/1.385, allocations: 184.3 kB / 0.9848 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/1.385, allocations: 184.2 kB / 0.985 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/1.386, allocations: 393.2 kB / 0.9853 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.626e-05/1.386, allocations: 105 kB / 0.9854 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/1.386, allocations: 112.9 kB / 0.9856 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/1.386, allocations: 180.3 kB / 0.9857 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.386, allocations: 184.2 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001391/1.386, allocations: 180.2 kB / 0.9861 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00015/1.386, allocations: 180.3 kB / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/1.387, allocations: 311.8 kB / 0.9865 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/1.387, allocations: 182.4 kB / 0.9867 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.387, allocations: 180.3 kB / 0.9869 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/1.387, allocations: 108.9 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.387, allocations: 188.2 kB / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/1.387, allocations: 109 kB / 0.9873 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.805e-05/1.388, allocations: 75.28 kB / 0.9873 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/1.388, allocations: 4 kB / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003985/1.388, allocations: 0 / 0.9874 GB, free: 15.22 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.0009846/1.389, allocations: 0.8088 MB / 0.9881 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/1.389, allocations: 0 / 0.9881 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.389, allocations: 0 / 0.9881 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-06/1.389, allocations: 3.938 kB / 0.9881 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/1.39, allocations: 0.5301 MB / 0.9887 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/1.391, allocations: 495.9 kB / 0.9891 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/1.391, allocations: 0.6771 MB / 0.9898 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.366e-05/1.391, allocations: 0 / 0.9898 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/1.392, allocations: 7.438 kB / 0.9898 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/1.392, allocations: 4.094 kB / 0.9898 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/1.41, allocations: 0.7301 MB / 0.9905 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/1.41, allocations: 205.8 kB / 0.9907 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/3.569, allocations: 0 / 0.9907 GB, free: 11.8 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