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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.0009999, allocations: 188.7 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008784, allocations: 103.9 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.235e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2654, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9618/1.227, allocations: 147.6 MB / 1.35 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.227, allocations: 72.95 kB / 1.35 GB, free: 18.26 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001147/1.229, allocations: 376.7 kB / 1.351 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.229, allocations: 0 / 1.351 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.102e-06/1.229, allocations: 0.5625 kB / 1.351 GB, free: 33.95 MB / 0.8386 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.0002448/1.229, allocations: 308.7 kB / 1.351 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/1.229, allocations: 9.5 kB / 1.351 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/1.229, allocations: 0 / 1.351 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.733e-05/1.229, allocations: 165.1 kB / 1.351 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/1.229, allocations: 4.766 kB / 1.351 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/1.229, allocations: 0 / 1.351 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.535e-05/1.229, allocations: 0 / 1.351 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.173e-05/1.229, allocations: 30.2 kB / 1.351 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.229, allocations: 8.734 kB / 1.351 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/1.229, allocations: 0 / 1.351 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.229, allocations: 0 / 1.351 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/1.23, allocations: 362.3 kB / 1.351 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.046e-05/1.23, allocations: 169 kB / 1.352 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/1.23, allocations: 84.14 kB / 1.352 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/1.23, allocations: 79.42 kB / 1.352 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/1.23, allocations: 110.4 kB / 1.352 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/1.23, allocations: 0 / 1.352 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.536e-05/1.23, allocations: 26.31 kB / 1.352 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/1.23, allocations: 51.41 kB / 1.352 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/1.23, allocations: 93.56 kB / 1.352 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/1.23, allocations: 25.7 kB / 1.352 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/1.23, allocations: 81.48 kB / 1.352 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/1.23, allocations: 0 / 1.352 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-07/1.23, allocations: 0.75 kB / 1.352 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.23, allocations: 319 kB / 1.352 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-06/1.23, allocations: 0 / 1.352 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/1.23, allocations: 3.969 kB / 1.352 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/1.23, allocations: 76.08 kB / 1.353 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/1.23, allocations: 80.94 kB / 1.353 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.912e-05/1.231, allocations: 30.16 kB / 1.353 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/1.231, allocations: 83.58 kB / 1.353 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/1.231, allocations: 79.22 kB / 1.353 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.562e-05/1.231, allocations: 151.1 kB / 1.353 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.167e-05/1.231, allocations: 79.83 kB / 1.353 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-05/1.231, allocations: 155 kB / 1.353 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/1.231, allocations: 81.67 kB / 1.353 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/1.231, allocations: 79.22 kB / 1.353 GB, free: 31.05 MB / 0.8386 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 () * 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.0001398/1.231, allocations: 259.8 kB / 1.354 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.666e-05/1.231, allocations: 132 kB / 1.354 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/1.231, allocations: 106.1 kB / 1.354 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/1.231, allocations: 114.1 kB / 1.354 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.148e-05/1.231, allocations: 185 kB / 1.354 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.204e-05/1.231, allocations: 181.6 kB / 1.354 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-05/1.232, allocations: 177.1 kB / 1.354 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/1.232, allocations: 387.7 kB / 1.355 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/1.232, allocations: 105.7 kB / 1.355 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/1.232, allocations: 105 kB / 1.355 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/1.232, allocations: 177.1 kB / 1.355 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/1.232, allocations: 186.7 kB / 1.355 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-05/1.232, allocations: 177.7 kB / 1.356 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.83e-05/1.232, allocations: 178.4 kB / 1.356 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/1.232, allocations: 313.5 kB / 1.356 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/1.232, allocations: 182.8 kB / 1.356 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/1.232, allocations: 185 kB / 1.356 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/1.232, allocations: 105.6 kB / 1.356 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/1.233, allocations: 188.3 kB / 1.357 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/1.233, allocations: 110.1 kB / 1.357 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.244e-05/1.233, allocations: 75.98 kB / 1.357 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.233, allocations: 0 / 1.357 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002693/1.233, allocations: 0 / 1.357 GB, free: 27.33 MB / 0.8386 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 () * 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.0005912/1.234, allocations: 0.8104 MB / 1.358 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.965e-05/1.234, allocations: 0 / 1.358 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.234, allocations: 0 / 1.358 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/1.234, allocations: 3.938 kB / 1.358 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/1.234, allocations: 0.5206 MB / 1.358 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/1.234, allocations: 146.1 kB / 1.358 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/1.235, allocations: 0.6755 MB / 1.359 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.154e-06/1.235, allocations: 0 / 1.359 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/1.235, allocations: 7.438 kB / 1.359 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.235, allocations: 0 / 1.359 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/1.254, allocations: 421.9 kB / 1.359 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/1.255, allocations: 153.7 kB / 1.359 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.733, allocations: 0 / 1.359 GB, free: 24.89 MB / 0.8386 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