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.609/2.609, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001188/0.001187, allocations: 183.6 kB / 0.4901 GB, free: 2.25 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.74/1.74, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001364/0.001364, allocations: 96.2 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 14 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2927, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2182/0.511, allocations: 149.1 MB / 1.375 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.5114, allocations: 63.95 kB / 1.375 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006268/0.512, allocations: 372.9 kB / 1.375 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.565e-06/0.512, allocations: 0 / 1.375 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.512, allocations: 0 / 1.375 GB, free: 3.883 MB / 0.8698 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.0003217/0.5124, allocations: 311.4 kB / 1.376 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.5124, allocations: 12.55 kB / 1.376 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.5125, allocations: 34.5 kB / 1.376 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.5125, allocations: 4 kB / 1.376 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.5127, allocations: 175 kB / 1.376 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.5127, allocations: 4 kB / 1.376 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.5127, allocations: 0 / 1.376 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.877e-05/0.5128, allocations: 25.7 kB / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5129, allocations: 0 / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.5129, allocations: 0 / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5129, allocations: 4 kB / 1.376 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.5129, allocations: 0 / 1.376 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.5133, allocations: 392.3 kB / 1.376 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.801e-05/0.5134, allocations: 165.1 kB / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.5134, allocations: 75.28 kB / 1.376 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.5135, allocations: 105.8 kB / 1.377 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5135, allocations: 4 kB / 1.377 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.877e-05/0.5136, allocations: 37.62 kB / 1.377 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.5137, allocations: 134.6 kB / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.5138, allocations: 88.95 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5138, allocations: 29.7 kB / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.5139, allocations: 84.12 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.5139, allocations: 0 / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.5139, allocations: 0 / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.514, allocations: 316.6 kB / 1.377 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.514, allocations: 0 / 1.377 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.514, allocations: 0 / 1.377 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.5141, allocations: 75.28 kB / 1.377 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-05/0.5141, allocations: 79.28 kB / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.469e-05/0.5142, allocations: 41.62 kB / 1.377 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.5142, allocations: 79.28 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.5143, allocations: 79.28 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-05/0.5143, allocations: 154.6 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.251e-05/0.5144, allocations: 79.22 kB / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.325e-05/0.5144, allocations: 150.6 kB / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.5145, allocations: 79.22 kB / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.5146, allocations: 87.23 kB / 1.378 GB, free: 0.8086 MB / 0.8698 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 0.0001294/0.5147, allocations: 269.2 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.5148, allocations: 101 kB / 1.378 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.5149, allocations: 115.8 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.479e-05/0.5149, allocations: 180.2 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-05/0.515, allocations: 180.2 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-05/0.5151, allocations: 184.2 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.5154, allocations: 405.2 kB / 1.379 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/0.5154, allocations: 104.9 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.5155, allocations: 105 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.026e-05/0.5156, allocations: 184.2 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.5157, allocations: 180.3 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.761e-05/0.5157, allocations: 180.3 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.479e-05/0.5158, allocations: 180.2 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.516, allocations: 312.1 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.5161, allocations: 186 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.5161, allocations: 184.3 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.5163, allocations: 112.9 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.5163, allocations: 176.3 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.5164, allocations: 108.9 kB / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.5164, allocations: 79.28 kB / 1.381 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5164, allocations: 0 / 1.381 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003798/0.5168, allocations: 0 / 1.381 GB, free: 13.14 MB / 0.8855 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.0004597/0.5173, allocations: 0.8134 MB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.162e-05/0.5174, allocations: 7.938 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5174, allocations: 0 / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5174, allocations: 0 / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.5178, allocations: 0.5224 MB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.5185, allocations: 0.4899 MB / 1.383 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.5188, allocations: 0.681 MB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.215e-05/0.5189, allocations: 3.938 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.5189, allocations: 11.38 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of SimCode: time 6.71e-07/0.5189, allocations: 0 / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.5331, allocations: 0.7223 MB / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.5334, allocations: 196.4 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.046, allocations: 4.062 kB / 1.385 GB, free: 9.699 MB / 0.8855 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