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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.343/2.343, allocations: 390.5 MB / 398 MB, free: 10.94 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.0009947/0.000995, allocations: 175.6 kB / 491.2 MB, free: 1.598 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.579/1.579, allocations: 221.5 MB / 0.7868 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 83.64 kB / 0.9269 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.006e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3585, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.474, allocations: 148.4 MB / 1.357 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.474, allocations: 64.64 kB / 1.357 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001298/1.475, allocations: 374 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.854e-06/1.475, allocations: 1.906 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.475, allocations: 0 / 1.358 GB, free: 32.89 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.000215/1.476, allocations: 312.7 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.476, allocations: 8.188 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/1.476, allocations: 4.594 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/1.476, allocations: 164.1 kB / 1.358 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.476, allocations: 0.75 kB / 1.358 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/1.476, allocations: 0 / 1.358 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.058e-05/1.476, allocations: 4.672 kB / 1.358 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.13e-05/1.476, allocations: 33.61 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/1.476, allocations: 0.8125 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.476, allocations: 1.031 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.476, allocations: 8.547 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/1.476, allocations: 371.2 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/1.476, allocations: 165.1 kB / 1.359 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/1.476, allocations: 80.14 kB / 1.359 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.476, allocations: 75.28 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/1.476, allocations: 110.9 kB / 1.359 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.476, allocations: 0 / 1.359 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.256e-05/1.476, allocations: 34.33 kB / 1.359 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/1.477, allocations: 51.41 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/1.477, allocations: 89.66 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/1.477, allocations: 26.58 kB / 1.359 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/1.477, allocations: 80.14 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/1.477, allocations: 4.125 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/1.477, allocations: 3.844 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.477, allocations: 315.7 kB / 1.36 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/1.477, allocations: 0 / 1.36 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-06/1.477, allocations: 0 / 1.36 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/1.477, allocations: 75.28 kB / 1.36 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/1.477, allocations: 77.25 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.594e-05/1.477, allocations: 30.59 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/1.477, allocations: 83.62 kB / 1.36 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/1.477, allocations: 83.27 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-05/1.477, allocations: 158 kB / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/1.477, allocations: 80.2 kB / 1.36 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.074e-05/1.477, allocations: 150.6 kB / 1.36 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/1.477, allocations: 75.94 kB / 1.36 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/1.477, allocations: 75.89 kB / 1.36 GB, free: 30 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.0001111/1.477, allocations: 267.4 kB / 1.361 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.911e-05/1.477, allocations: 129.4 kB / 1.361 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/1.478, allocations: 116.8 kB / 1.361 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/1.478, allocations: 109.2 kB / 1.361 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.156e-05/1.478, allocations: 181.1 kB / 1.361 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-05/1.478, allocations: 184.8 kB / 1.361 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-05/1.478, allocations: 181 kB / 1.362 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/1.478, allocations: 379.8 kB / 1.362 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.194e-05/1.478, allocations: 109.4 kB / 1.362 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/1.478, allocations: 105.7 kB / 1.362 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.718e-05/1.478, allocations: 180.9 kB / 1.362 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.562e-05/1.478, allocations: 185 kB / 1.363 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.999e-05/1.478, allocations: 180.9 kB / 1.363 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001013/1.479, allocations: 177.8 kB / 1.363 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/1.479, allocations: 308.7 kB / 1.363 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/1.479, allocations: 187.2 kB / 1.363 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.479, allocations: 180.9 kB / 1.363 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/1.479, allocations: 102.2 kB / 1.364 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.479, allocations: 178 kB / 1.364 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/1.479, allocations: 113.3 kB / 1.364 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.627e-05/1.479, allocations: 82.53 kB / 1.364 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.81e-07/1.479, allocations: 0 / 1.364 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002687/1.48, allocations: 0 / 1.364 GB, free: 26.28 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.0005741/1.48, allocations: 0.802 MB / 1.365 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.643e-05/1.48, allocations: 0 / 1.365 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.48, allocations: 7.906 kB / 1.365 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/1.48, allocations: 0 / 1.365 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/1.481, allocations: 0.5198 MB / 1.365 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/1.481, allocations: 149.8 kB / 1.365 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.481, allocations: 0.6756 MB / 1.366 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.056e-06/1.481, allocations: 4 kB / 1.366 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/1.481, allocations: 7.438 kB / 1.366 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.481, allocations: 0 / 1.366 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/1.502, allocations: 418.3 kB / 1.366 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.502, allocations: 155.3 kB / 1.367 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.357/2.86, allocations: 0.5 kB / 1.367 GB, free: 23.84 MB / 0.8386 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) 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