Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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.438/2.438, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001048/0.001048, allocations: 187.9 kB / 0.4901 GB, free: 2.316 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.594/1.594, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009179/0.0009172, allocations: 104.2 kB / 0.9396 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003986, allocations: 11.19 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.296, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.4935, allocations: 151.2 MB / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4938, allocations: 71.97 kB / 1.377 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01667/0.5105, allocations: 6.457 MB / 1.383 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5105, allocations: 4 kB / 1.383 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.283e-05/0.5106, allocations: 8 kB / 1.383 GB, free: 7.457 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001244/0.5118, allocations: 0.682 MB / 1.384 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5119, allocations: 12.5 kB / 1.384 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.512, allocations: 78.53 kB / 1.384 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.5122, allocations: 51.39 kB / 1.384 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.5127, allocations: 330.2 kB / 1.384 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.5128, allocations: 29 kB / 1.384 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.5128, allocations: 40 kB / 1.385 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/0.5136, allocations: 415 kB / 1.385 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5136, allocations: 0 / 1.385 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.5137, allocations: 19.94 kB / 1.385 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.5137, allocations: 12 kB / 1.385 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.5143, allocations: 295.8 kB / 1.385 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.5165, allocations: 1.32 MB / 1.387 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.5171, allocations: 303.8 kB / 1.387 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.5172, allocations: 8 kB / 1.387 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.5176, allocations: 189.7 kB / 1.387 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.5176, allocations: 0 / 1.387 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.0008325/0.5184, allocations: 398.4 kB / 1.387 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.5185, allocations: 132.5 kB / 1.388 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.5189, allocations: 352.8 kB / 1.388 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.5189, allocations: 29.7 kB / 1.388 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.5191, allocations: 228.2 kB / 1.388 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.5192, allocations: 98.55 kB / 1.388 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.5192, allocations: 8 kB / 1.388 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5194, allocations: 346.8 kB / 1.389 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.5196, allocations: 115.9 kB / 1.389 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.52, allocations: 200 kB / 1.389 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.5203, allocations: 128.7 kB / 1.389 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5203, allocations: 0 / 1.389 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006961/0.521, allocations: 381 kB / 1.389 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.5212, allocations: 0.5339 MB / 1.39 GB, free: 476 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5212, allocations: 0 / 1.39 GB, free: 476 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5213, allocations: 8 kB / 1.39 GB, free: 468 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.5216, allocations: 67.91 kB / 1.39 GB, free: 400 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5216, allocations: 4 kB / 1.39 GB, free: 396 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.5219, allocations: 59.66 kB / 1.39 GB, free: 336 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.5219, allocations: 12 kB / 1.39 GB, free: 324 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5219, allocations: 5.25 kB / 1.39 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004186/0.5223, allocations: 241.1 kB / 1.39 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5223, allocations: 0 / 1.39 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.5224, allocations: 4 kB / 1.39 GB, free: 76 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.5226, allocations: 64.03 kB / 1.39 GB, free: 12 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.5226, allocations: 4 kB / 1.39 GB, free: 8 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.5228, allocations: 47.52 kB / 1.39 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.5228, allocations: 8 kB / 1.39 GB, free: 15.95 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0002284/0.5231, allocations: 241 kB / 1.391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.5231, allocations: 35.53 kB / 1.391 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.5236, allocations: 213 kB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5236, allocations: 4 kB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.5236, allocations: 4 kB / 1.391 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5236, allocations: 3.984 kB / 1.391 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.5251, allocations: 1.041 MB / 1.392 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5252, allocations: 4 kB / 1.392 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.5254, allocations: 60.25 kB / 1.392 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.5254, allocations: 8 kB / 1.392 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.5255, allocations: 11.95 kB / 1.392 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.5255, allocations: 7.984 kB / 1.392 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5255, allocations: 4 kB / 1.392 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5265, allocations: 0.7885 MB / 1.393 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.5266, allocations: 128.6 kB / 1.393 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.5267, allocations: 19.88 kB / 1.393 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.5269, allocations: 23.98 kB / 1.393 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.527, allocations: 23.98 kB / 1.393 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.527, allocations: 12.08 kB / 1.393 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003008/0.5273, allocations: 283.1 kB / 1.393 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5273, allocations: 0 / 1.393 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005497/0.5279, allocations: 139.5 kB / 1.393 GB, free: 12.68 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001615/0.5295, allocations: 2.184 MB / 1.395 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008248/0.5303, allocations: 417.2 kB / 1.396 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.5304, allocations: 0 / 1.396 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.5306, allocations: 132.7 kB / 1.396 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.5311, allocations: 81.84 kB / 1.396 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.5352, allocations: 3.053 MB / 1.399 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.5356, allocations: 0.8196 MB / 1.4 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.5358, allocations: 51.25 kB / 1.4 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.536, allocations: 135.4 kB / 1.4 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of SimCode: time 7.02e-07/0.536, allocations: 0 / 1.4 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5285/1.065, allocations: 6.851 MB / 1.407 GB, free: 170.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.065, allocations: 193.2 kB / 1.407 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/3.155, allocations: 3.312 kB / 1.407 GB, free: 170.5 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat does not exist to compare? outputFormat=mat