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.234/2.234, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001195/0.001195, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001073/0.001073, allocations: 87.95 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.516e-05/4.529e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.327, allocations: 149.1 MB / 1.364 GB, free: 4.906 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.327, allocations: 62.34 kB / 1.365 GB, free: 4.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005934/1.327, allocations: 372.3 kB / 1.365 GB, free: 4.516 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/1.327, allocations: 0 / 1.365 GB, free: 4.516 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.327, allocations: 0.625 kB / 1.365 GB, free: 4.516 MB / 0.823 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.000289/1.328, allocations: 319.3 kB / 1.365 GB, free: 4.168 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/1.328, allocations: 8.031 kB / 1.365 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/1.328, allocations: 34.56 kB / 1.365 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/1.328, allocations: 0 / 1.365 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.328, allocations: 167 kB / 1.365 GB, free: 3.914 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.328, allocations: 3.562 kB / 1.365 GB, free: 3.914 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/1.328, allocations: 0 / 1.365 GB, free: 3.914 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/1.328, allocations: 29.64 kB / 1.365 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.328, allocations: 0 / 1.365 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/1.328, allocations: 0 / 1.365 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/1.328, allocations: 7.984 kB / 1.365 GB, free: 3.871 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/1.328, allocations: 3.562 kB / 1.365 GB, free: 3.871 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/1.329, allocations: 387.2 kB / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/1.329, allocations: 169.1 kB / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/1.329, allocations: 80.14 kB / 1.366 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/1.329, allocations: 75.28 kB / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/1.329, allocations: 113.8 kB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/1.329, allocations: 3.938 kB / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.719e-05/1.329, allocations: 29.7 kB / 1.366 GB, free: 2.953 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/1.329, allocations: 130.6 kB / 1.366 GB, free: 2.812 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/1.329, allocations: 93.75 kB / 1.366 GB, free: 2.719 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/1.329, allocations: 25.7 kB / 1.366 GB, free: 2.688 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/1.329, allocations: 84.27 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/1.329, allocations: 3.938 kB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/1.329, allocations: 0 / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.329, allocations: 310.8 kB / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-06/1.329, allocations: 0 / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/1.329, allocations: 0 / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/1.329, allocations: 77.25 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/1.329, allocations: 79.28 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.137e-05/1.33, allocations: 32.94 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/1.33, allocations: 84.69 kB / 1.367 GB, free: 2.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/1.33, allocations: 83.22 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.842e-05/1.33, allocations: 150.6 kB / 1.367 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.193e-05/1.33, allocations: 75.28 kB / 1.367 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.701e-05/1.33, allocations: 154.5 kB / 1.368 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/1.33, allocations: 83.23 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/1.33, allocations: 90.52 kB / 1.368 GB, free: 1.391 MB / 0.823 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.0001069/1.33, allocations: 251.5 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/1.33, allocations: 101.8 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/1.33, allocations: 112.2 kB / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.125e-05/1.33, allocations: 180.2 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.539e-05/1.33, allocations: 187.5 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-05/1.33, allocations: 188.2 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/1.331, allocations: 397.2 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.224e-05/1.331, allocations: 104.8 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/1.331, allocations: 112.8 kB / 1.369 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.312e-05/1.331, allocations: 180.3 kB / 1.369 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/1.331, allocations: 184.2 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.961e-05/1.331, allocations: 176.3 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.434e-05/1.331, allocations: 180.2 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/1.331, allocations: 308.6 kB / 1.37 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/1.331, allocations: 190 kB / 1.37 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/1.331, allocations: 177.1 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/1.332, allocations: 112.8 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/1.332, allocations: 176.3 kB / 1.371 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/1.332, allocations: 105 kB / 1.371 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.84e-05/1.332, allocations: 79.28 kB / 1.371 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.332, allocations: 0 / 1.371 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002401/1.332, allocations: 7.938 kB / 1.371 GB, free: 13.75 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.00045/1.332, allocations: 0.8167 MB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.624e-05/1.332, allocations: 96 / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.332, allocations: 4 kB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/1.332, allocations: 0 / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/1.333, allocations: 0.5225 MB / 1.372 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/1.333, allocations: 145.9 kB / 1.373 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.333, allocations: 0.6794 MB / 1.373 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.08e-05/1.333, allocations: 4 kB / 1.373 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/1.334, allocations: 7.438 kB / 1.373 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.334, allocations: 0 / 1.373 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/1.347, allocations: 0.7383 MB / 1.374 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.347, allocations: 172 kB / 1.374 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/2.798, allocations: 4 kB / 1.374 GB, free: 10.69 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