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.202/2.202, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001039/0.001038, allocations: 185 kB / 498.1 MB, free: 5.73 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.449/1.449, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009959/0.0009958, allocations: 92.39 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 14.38 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2352, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.4096, allocations: 148.3 MB / 1.368 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4099, allocations: 67.95 kB / 1.368 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005753/0.4105, allocations: 372.9 kB / 1.368 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4105, allocations: 0 / 1.368 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4105, allocations: 0 / 1.368 GB, free: 13.19 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.0003072/0.4108, allocations: 315.4 kB / 1.369 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4109, allocations: 8.031 kB / 1.369 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.4109, allocations: 38.55 kB / 1.369 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.411, allocations: 0 / 1.369 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4111, allocations: 163 kB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4111, allocations: 0 / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4111, allocations: 7.938 kB / 1.369 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.4112, allocations: 25.7 kB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4113, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4113, allocations: 4 kB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4113, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.4113, allocations: 4 kB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.4117, allocations: 382.2 kB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4118, allocations: 173.1 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.4118, allocations: 79.28 kB / 1.369 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.4119, allocations: 109.8 kB / 1.369 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4119, allocations: 0 / 1.369 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.412, allocations: 33.59 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.4121, allocations: 130.6 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.4122, allocations: 96.89 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4122, allocations: 25.7 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.4122, allocations: 84.27 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.4122, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.4123, allocations: 4 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4124, allocations: 314.8 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.4124, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-06/0.4124, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.4124, allocations: 75.28 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/0.4125, allocations: 75.28 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.703e-05/0.4125, allocations: 37.62 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.4126, allocations: 83.28 kB / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/0.4126, allocations: 79.22 kB / 1.37 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.643e-05/0.4127, allocations: 154.6 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.4128, allocations: 79.22 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.292e-05/0.4128, allocations: 150.6 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.4129, allocations: 79.28 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.413, allocations: 87.17 kB / 1.371 GB, free: 10.12 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.0001812/0.4131, allocations: 265 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.4132, allocations: 101 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.4133, allocations: 111.8 kB / 1.371 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/0.4133, allocations: 184.3 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.764e-05/0.4134, allocations: 184.3 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.165e-05/0.4135, allocations: 184.2 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4137, allocations: 405.2 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/0.4138, allocations: 104.9 kB / 1.372 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.4138, allocations: 109 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.69e-05/0.4139, allocations: 176.3 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-05/0.414, allocations: 188.2 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.842e-05/0.414, allocations: 176.3 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.855e-05/0.4141, allocations: 184.2 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.4143, allocations: 308.6 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.4144, allocations: 186 kB / 1.374 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.4144, allocations: 180.3 kB / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.4145, allocations: 108.9 kB / 1.374 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.4146, allocations: 176.3 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.4146, allocations: 109 kB / 1.374 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.4147, allocations: 87.22 kB / 1.374 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4147, allocations: 0 / 1.374 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002663/0.415, allocations: 0 / 1.374 GB, free: 6.445 MB / 0.8698 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.0004812/0.4154, allocations: 0.8128 MB / 1.375 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 3.773e-05/0.4155, allocations: 4.094 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4155, allocations: 4 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.4155, allocations: 3.938 kB / 1.375 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4159, allocations: 0.517 MB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.4165, allocations: 0.5017 MB / 1.376 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.4168, allocations: 0.6737 MB / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.097e-06/0.4168, allocations: 0 / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.4168, allocations: 11.44 kB / 1.377 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of SimCode: time 4.11e-07/0.4168, allocations: 0 / 1.377 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.429, allocations: 0.7182 MB / 1.378 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/0.4293, allocations: 190.2 kB / 1.378 GB, free: 3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.919, allocations: 0 / 1.378 GB, free: 3 MB / 0.8698 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