Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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.00104/0.00104, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001204/0.001204, 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 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004849, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/0.7252, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007954/0.7261, allocations: 285.4 kB / 0.9539 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.47e-05/0.7261, allocations: 1.281 kB / 0.9539 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.7262, allocations: 0 / 0.9539 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.7262, allocations: 0 / 0.9539 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.7262, allocations: 1.25 kB / 0.9539 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.502e-05/0.7263, allocations: 4 kB / 0.9539 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.7263, allocations: 5.062 kB / 0.9539 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.7264, allocations: 1.125 kB / 0.9539 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.7264, allocations: 3.938 kB / 0.9539 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.7265, allocations: 9.141 kB / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.7265, allocations: 0 / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-06/0.7265, allocations: 0 / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.7265, allocations: 0 / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.7265, allocations: 27.23 kB / 0.9539 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.284e-05/0.7266, allocations: 0 / 0.9539 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7266, allocations: 0 / 0.9539 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7266, allocations: 5.375 kB / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7266, allocations: 0 / 0.9539 GB, free: 7.824 MB / 0.7169 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.0003154/0.727, allocations: 308.5 kB / 0.9542 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.727, allocations: 14.06 kB / 0.9542 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.7271, allocations: 30.56 kB / 0.9543 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.7271, allocations: 3.953 kB / 0.9543 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.7272, allocations: 164.1 kB / 0.9544 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.7272, allocations: 1.125 kB / 0.9544 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.7273, allocations: 0 / 0.9544 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.7274, allocations: 40.2 kB / 0.9545 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.7274, allocations: 0 / 0.9545 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.7274, allocations: 0 / 0.9545 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7274, allocations: 0 / 0.9545 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.7274, allocations: 6.141 kB / 0.9545 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.7277, allocations: 382.1 kB / 0.9548 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.7278, allocations: 174.6 kB / 0.955 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.7278, allocations: 75.28 kB / 0.9551 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.7279, allocations: 111.3 kB / 0.9552 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.7279, allocations: 0 / 0.9552 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.166e-05/0.728, allocations: 31.06 kB / 0.9552 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.728, allocations: 126.7 kB / 0.9553 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.7281, allocations: 102 kB / 0.9554 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.7281, allocations: 25.7 kB / 0.9555 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.7281, allocations: 80.14 kB / 0.9555 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.7281, allocations: 0 / 0.9555 GB, free: 6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-06/0.7282, allocations: 1.344 kB / 0.9555 GB, free: 6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.7282, allocations: 314.8 kB / 0.9558 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.7282, allocations: 0 / 0.9558 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.7282, allocations: 1.5 kB / 0.9558 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.987e-05/0.7283, allocations: 79.41 kB / 0.9559 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.7283, allocations: 79.27 kB / 0.956 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.959e-05/0.7283, allocations: 32.58 kB / 0.956 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.7284, allocations: 80.97 kB / 0.9561 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.7284, allocations: 79.22 kB / 0.9562 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-05/0.7284, allocations: 151.9 kB / 0.9563 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.7285, allocations: 84.61 kB / 0.9564 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-05/0.7285, allocations: 158.5 kB / 0.9566 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.7286, allocations: 80.62 kB / 0.9566 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.7286, allocations: 88.39 kB / 0.9567 GB, free: 4.789 MB / 0.7169 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 9.19e-05/0.7287, allocations: 266.7 kB / 0.957 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.7288, allocations: 102.3 kB / 0.9571 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.7288, allocations: 113.7 kB / 0.9572 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/0.7288, allocations: 184.2 kB / 0.9574 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-05/0.7289, allocations: 186 kB / 0.9575 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-05/0.7289, allocations: 184.2 kB / 0.9577 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.7291, allocations: 397.4 kB / 0.9581 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.7291, allocations: 105 kB / 0.9582 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.7292, allocations: 110.4 kB / 0.9583 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-05/0.7292, allocations: 177.8 kB / 0.9585 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.7292, allocations: 184.2 kB / 0.9586 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.732e-05/0.7293, allocations: 177.7 kB / 0.9588 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.112e-05/0.7293, allocations: 182 kB / 0.959 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.457e-05/0.7294, allocations: 310.5 kB / 0.9593 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.7295, allocations: 183.8 kB / 0.9594 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.7295, allocations: 184.8 kB / 0.9596 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.7296, allocations: 102.1 kB / 0.9597 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.7297, allocations: 181.8 kB / 0.9599 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.7297, allocations: 109 kB / 0.96 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.7297, allocations: 81.41 kB / 0.9601 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7297, allocations: 0.8125 kB / 0.9601 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002657/0.73, allocations: 3.953 kB / 0.9601 GB, free: 1.141 MB / 0.7169 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.000295/0.7303, allocations: 0.8103 MB / 0.9609 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.27e-05/0.7304, allocations: 0.9375 kB / 0.9609 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7304, allocations: 0 / 0.9609 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/0.7304, allocations: 0.7812 kB / 0.9609 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.7307, allocations: 0.5192 MB / 0.9614 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.7313, allocations: 0.5028 MB / 0.9619 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.7316, allocations: 0.6764 MB / 0.9625 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.057e-06/0.7316, allocations: 0 / 0.9625 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.7317, allocations: 7.438 kB / 0.9625 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7317, allocations: 4.094 kB / 0.9625 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00987/0.7415, allocations: 0.7277 MB / 0.9633 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.7418, allocations: 190 kB / 0.9634 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.408, allocations: 0 / 0.9634 GB, free: 14 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat