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.0008968/0.0008968, 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.001186/0.001186, 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.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.414 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.459/2.459, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003778, allocations: 11.98 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6865, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007525/0.6873, allocations: 293.5 kB / 0.9542 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.66e-05/0.6874, allocations: 1.625 kB / 0.9542 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.6874, allocations: 0 / 0.9542 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.6874, allocations: 0 / 0.9542 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.631e-05/0.6875, allocations: 0 / 0.9542 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.834e-05/0.6875, allocations: 1.281 kB / 0.9542 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.6876, allocations: 5.812 kB / 0.9542 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.6876, allocations: 0 / 0.9542 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.243e-05/0.6876, allocations: 0 / 0.9542 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.6877, allocations: 4.938 kB / 0.9542 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.6877, allocations: 0 / 0.9542 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-06/0.6877, allocations: 5 kB / 0.9542 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.6877, allocations: 0 / 0.9542 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.6877, allocations: 29.69 kB / 0.9542 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.798e-05/0.6878, allocations: 1.375 kB / 0.9542 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6878, allocations: 0 / 0.9542 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6878, allocations: 0 / 0.9542 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.6878, allocations: 1.531 kB / 0.9542 GB, free: 7.844 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.0001949/0.688, allocations: 304.8 kB / 0.9545 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.688, allocations: 13.55 kB / 0.9545 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/0.6881, allocations: 30.56 kB / 0.9545 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.6881, allocations: 9.078 kB / 0.9545 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.335e-05/0.6882, allocations: 167.1 kB / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.6882, allocations: 1.25 kB / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-06/0.6882, allocations: 0 / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.954e-05/0.6883, allocations: 32.33 kB / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.6883, allocations: 0 / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.6883, allocations: 0 / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.6883, allocations: 0 / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.6883, allocations: 9.578 kB / 0.9547 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.6885, allocations: 387 kB / 0.9551 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.6886, allocations: 166.6 kB / 0.9553 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.6886, allocations: 84.08 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.6886, allocations: 79.22 kB / 0.9554 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6887, allocations: 115 kB / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.6887, allocations: 0 / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.149e-05/0.6887, allocations: 35.17 kB / 0.9556 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.6888, allocations: 126.7 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.6888, allocations: 93.17 kB / 0.9558 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.6888, allocations: 27.14 kB / 0.9558 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.336e-05/0.6889, allocations: 80.14 kB / 0.9559 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.6889, allocations: 4.125 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.6889, allocations: 0 / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.6889, allocations: 316.4 kB / 0.9562 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-06/0.6889, allocations: 3.938 kB / 0.9562 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.6889, allocations: 0 / 0.9562 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.427e-05/0.689, allocations: 76.44 kB / 0.9563 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.689, allocations: 79.27 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.005e-05/0.689, allocations: 28.61 kB / 0.9564 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6891, allocations: 84.66 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6891, allocations: 79.22 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.6891, allocations: 155.5 kB / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.254e-05/0.6891, allocations: 76.47 kB / 0.9567 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.6892, allocations: 155.8 kB / 0.9569 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.6892, allocations: 80.78 kB / 0.957 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.6893, allocations: 87.23 kB / 0.9571 GB, free: 4.727 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 6.661e-05/0.6893, allocations: 261.8 kB / 0.9573 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.6894, allocations: 102.7 kB / 0.9574 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.6894, allocations: 109 kB / 0.9575 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.6894, allocations: 180.2 kB / 0.9577 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/0.6895, allocations: 189.3 kB / 0.9579 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.745e-05/0.6895, allocations: 186.9 kB / 0.958 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.6897, allocations: 395.9 kB / 0.9584 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.6897, allocations: 105 kB / 0.9585 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.6897, allocations: 109.8 kB / 0.9586 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.73e-05/0.6898, allocations: 177.4 kB / 0.9588 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.6898, allocations: 185.7 kB / 0.959 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-05/0.6898, allocations: 178 kB / 0.9591 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.551e-05/0.6899, allocations: 176.3 kB / 0.9593 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.109e-05/0.69, allocations: 315.5 kB / 0.9596 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.69, allocations: 187.8 kB / 0.9598 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.69, allocations: 189.5 kB / 0.96 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.6901, allocations: 101 kB / 0.9601 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.6902, allocations: 189.3 kB / 0.9602 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.6902, allocations: 106.3 kB / 0.9603 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.986e-05/0.6902, allocations: 81.67 kB / 0.9604 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6902, allocations: 96 / 0.9604 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002678/0.6905, allocations: 4 kB / 0.9604 GB, free: 1.074 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.0002595/0.6907, allocations: 0.806 MB / 0.9612 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.145e-05/0.6908, allocations: 1.219 kB / 0.9612 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6908, allocations: 4 kB / 0.9612 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.6908, allocations: 1.469 kB / 0.9612 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.6912, allocations: 0.5198 MB / 0.9617 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.6918, allocations: 0.4992 MB / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.6921, allocations: 0.6746 MB / 0.9629 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.608e-06/0.6921, allocations: 1.438 kB / 0.9629 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.6921, allocations: 7.438 kB / 0.9629 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6921, allocations: 0 / 0.9629 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.7027, allocations: 0.7348 MB / 0.9636 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.7029, allocations: 204.9 kB / 0.9638 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.397, allocations: 0 / 0.9638 GB, free: 13.93 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