Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.497/2.497, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001164/0.001164, allocations: 180 kB / 0.4901 GB, free: 2.258 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.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001012/0.001012, allocations: 112.1 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 10.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3104, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.499, allocations: 149.3 MB / 1.375 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4993, allocations: 71.95 kB / 1.375 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001865/0.5012, allocations: 0.7668 MB / 1.376 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.627e-06/0.5012, allocations: 4 kB / 1.376 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.5012, allocations: 7.938 kB / 1.376 GB, free: 3.312 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003473/0.5016, allocations: 340.1 kB / 1.376 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5016, allocations: 8.562 kB / 1.376 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.5017, allocations: 42.55 kB / 1.376 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.5017, allocations: 7.859 kB / 1.376 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.5019, allocations: 183 kB / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.502, allocations: 0 / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.502, allocations: 4 kB / 1.376 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.5022, allocations: 85.66 kB / 1.377 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5022, allocations: 0 / 1.377 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5022, allocations: 0 / 1.377 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5022, allocations: 3.938 kB / 1.377 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.5023, allocations: 47.91 kB / 1.377 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.5028, allocations: 495 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/0.5029, allocations: 169.1 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.503, allocations: 75.28 kB / 1.377 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.503, allocations: 109.8 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.503, allocations: 0 / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.542e-05/0.5031, allocations: 39.2 kB / 1.377 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.5032, allocations: 134.7 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5033, allocations: 154.5 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.5033, allocations: 25.7 kB / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.5034, allocations: 100 kB / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.5034, allocations: 0 / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.5034, allocations: 0 / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5035, allocations: 318.8 kB / 1.378 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.5036, allocations: 11.98 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.5036, allocations: 4 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.5036, allocations: 11.98 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5036, allocations: 0 / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.5037, allocations: 57.58 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5038, allocations: 4 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.5038, allocations: 3.938 kB / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5038, allocations: 0 / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.5038, allocations: 7.984 kB / 1.378 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5039, allocations: 96 / 1.378 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.5039, allocations: 15.84 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.5039, allocations: 0 / 1.378 GB, free: 0.6797 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 (1): * Single equations (assignments): 1 * 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 9.511e-05/0.504, allocations: 197.2 kB / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.5041, allocations: 112.9 kB / 1.379 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.5041, allocations: 116.6 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.923e-05/0.5042, allocations: 176.3 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.691e-05/0.5043, allocations: 188.2 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-05/0.5044, allocations: 180.2 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.5046, allocations: 425.2 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.5046, allocations: 104.9 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.5047, allocations: 101 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.743e-05/0.5047, allocations: 184.2 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.5048, allocations: 188.2 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-05/0.5049, allocations: 176.3 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.228e-05/0.5049, allocations: 180.2 kB / 1.38 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.5051, allocations: 315.7 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.5052, allocations: 190 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.5052, allocations: 180.3 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.5053, allocations: 108.9 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.5054, allocations: 184.2 kB / 1.381 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.5054, allocations: 104.9 kB / 1.381 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001003/0.5055, allocations: 137.3 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5055, allocations: 0 / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002598/0.5058, allocations: 4 kB / 1.382 GB, free: 12.98 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.0003998/0.5062, allocations: 0.8059 MB / 1.382 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.49e-05/0.5063, allocations: 15.98 kB / 1.382 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5063, allocations: 0 / 1.382 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.5063, allocations: 3.938 kB / 1.382 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.5066, allocations: 0.5302 MB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007387/0.5074, allocations: 0.5831 MB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.5076, allocations: 0.6965 MB / 1.384 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.5076, allocations: 4 kB / 1.384 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.5077, allocations: 19.42 kB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.5077, allocations: 4 kB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.5194, allocations: 1.389 MB / 1.386 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.5196, allocations: 187.1 kB / 1.386 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.057, allocations: 0 / 1.386 GB, free: 8.734 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat does not exist to compare? outputFormat=mat