Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.213/2.213, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001094/0.001094, allocations: 177.2 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.347/1.347, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.000998/0.0009979, allocations: 88.23 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003608, allocations: 11.16 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.4053, allocations: 148.3 MB / 1.368 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4055, allocations: 67.95 kB / 1.368 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.000459/0.406, allocations: 364.8 kB / 1.368 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.406, allocations: 64 / 1.368 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4061, allocations: 8 kB / 1.368 GB, free: 4.5 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.0002527/0.4063, allocations: 311.6 kB / 1.369 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4064, allocations: 12.09 kB / 1.369 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.4064, allocations: 34.5 kB / 1.369 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.4064, allocations: 4 kB / 1.369 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.4065, allocations: 167 kB / 1.369 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4066, allocations: 4 kB / 1.369 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.4066, allocations: 0 / 1.369 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.394e-05/0.4066, allocations: 37.69 kB / 1.369 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.4067, allocations: 0 / 1.369 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.4067, allocations: 0 / 1.369 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.4067, allocations: 3.938 kB / 1.369 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.4067, allocations: 0 / 1.369 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.407, allocations: 397.3 kB / 1.369 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/0.4071, allocations: 173.1 kB / 1.369 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.4071, allocations: 79.31 kB / 1.369 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.4071, allocations: 109.8 kB / 1.37 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4072, allocations: 0 / 1.37 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.386e-05/0.4072, allocations: 29.64 kB / 1.37 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.4073, allocations: 126.7 kB / 1.37 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.4074, allocations: 96.95 kB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4074, allocations: 25.7 kB / 1.37 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.4074, allocations: 84.12 kB / 1.37 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.4074, allocations: 0 / 1.37 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-08/0.4074, allocations: 0 / 1.37 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4075, allocations: 318.8 kB / 1.37 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-06/0.4075, allocations: 0 / 1.37 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.4075, allocations: 0 / 1.37 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.4076, allocations: 75.28 kB / 1.37 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/0.4076, allocations: 79.41 kB / 1.37 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.244e-05/0.4077, allocations: 33.64 kB / 1.37 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.4077, allocations: 80.22 kB / 1.37 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.4077, allocations: 75.28 kB / 1.37 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.251e-05/0.4078, allocations: 150.6 kB / 1.371 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.4078, allocations: 83.2 kB / 1.371 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.277e-05/0.4079, allocations: 158.6 kB / 1.371 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.408, allocations: 83.22 kB / 1.371 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.408, allocations: 83.23 kB / 1.371 GB, free: 1.418 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.0001155/0.4081, allocations: 260.4 kB / 1.371 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.4082, allocations: 101 kB / 1.371 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.4082, allocations: 115.8 kB / 1.371 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.632e-05/0.4083, allocations: 180.3 kB / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.484e-05/0.4084, allocations: 188.2 kB / 1.372 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-05/0.4084, allocations: 176.3 kB / 1.372 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.4087, allocations: 401.2 kB / 1.372 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/0.4087, allocations: 108.9 kB / 1.372 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.4088, allocations: 105 kB / 1.373 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-05/0.4088, allocations: 184.2 kB / 1.373 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.4089, allocations: 176.3 kB / 1.373 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.463e-05/0.4089, allocations: 192.1 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.577e-05/0.409, allocations: 176.3 kB / 1.373 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.4091, allocations: 316.1 kB / 1.374 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.4092, allocations: 182.1 kB / 1.374 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.4093, allocations: 188.2 kB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.4094, allocations: 105 kB / 1.374 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.4094, allocations: 176.3 kB / 1.374 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.4095, allocations: 112.9 kB / 1.374 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.4095, allocations: 83.27 kB / 1.374 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4095, allocations: 0 / 1.374 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002392/0.4098, allocations: 0 / 1.374 GB, free: 13.74 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.0004475/0.4102, allocations: 0.8086 MB / 1.375 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 3.491e-05/0.4103, allocations: 7.938 kB / 1.375 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4103, allocations: 0 / 1.375 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.4103, allocations: 0 / 1.375 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.4106, allocations: 0.5185 MB / 1.376 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.4111, allocations: 0.4939 MB / 1.376 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4114, allocations: 0.6731 MB / 1.377 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.354e-06/0.4114, allocations: 0 / 1.377 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.4114, allocations: 11.44 kB / 1.377 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.4114, allocations: 0 / 1.377 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.4227, allocations: 0.7262 MB / 1.378 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.4229, allocations: 188.7 kB / 1.378 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.396/1.819, allocations: 0 / 1.378 GB, free: 10.31 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat