Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.464/2.464, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001536/0.001536, allocations: 184 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.3 MB / 0.7915 GB, free: 5.488 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.001085/0.001085, allocations: 91.94 kB / 0.9318 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.832e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3346, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.467, allocations: 152 MB / 1.367 GB, free: 2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/1.467, allocations: 77.33 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04231/1.51, allocations: 16.11 MB / 1.383 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.51, allocations: 0 / 1.383 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.748e-05/1.51, allocations: 23.98 kB / 1.383 GB, free: 4.223 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001863/1.512, allocations: 1.084 MB / 1.384 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.512, allocations: 15.97 kB / 1.384 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/1.512, allocations: 134.3 kB / 1.384 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/1.512, allocations: 118.5 kB / 1.384 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/1.513, allocations: 0.5565 MB / 1.385 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/1.513, allocations: 69.17 kB / 1.385 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.513, allocations: 93.38 kB / 1.385 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/1.514, allocations: 0.8028 MB / 1.386 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/1.514, allocations: 4 kB / 1.386 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/1.514, allocations: 36.12 kB / 1.386 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/1.514, allocations: 20 kB / 1.386 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/1.515, allocations: 0.5406 MB / 1.387 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004003/1.519, allocations: 2.786 MB / 1.389 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.52, allocations: 0.6052 MB / 1.39 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/1.521, allocations: 344.1 kB / 1.39 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/1.521, allocations: 8.562 kB / 1.39 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005358/1.521, allocations: 326 kB / 1.391 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=75): time 2.264e-06/1.521, allocations: 0 / 1.391 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.000957/1.522, allocations: 0.5673 MB / 1.391 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.523, allocations: 188.7 kB / 1.391 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/1.523, allocations: 0.6146 MB / 1.392 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/1.523, allocations: 43 kB / 1.392 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/1.524, allocations: 415.4 kB / 1.392 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/1.524, allocations: 245.2 kB / 1.393 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/1.524, allocations: 13.94 kB / 1.393 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.524, allocations: 338.7 kB / 1.393 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/1.525, allocations: 222.8 kB / 1.393 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/1.525, allocations: 378.1 kB / 1.393 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/1.525, allocations: 292.6 kB / 1.394 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.525, allocations: 4 kB / 1.394 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001122/1.527, allocations: 0.741 MB / 1.394 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003016/1.527, allocations: 0.5631 MB / 1.395 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.527, allocations: 4 kB / 1.395 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.527, allocations: 4 kB / 1.395 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/1.528, allocations: 166.8 kB / 1.395 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.528, allocations: 4 kB / 1.395 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/1.528, allocations: 168.1 kB / 1.395 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/1.528, allocations: 31.34 kB / 1.395 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/1.528, allocations: 4 kB / 1.395 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009508/1.529, allocations: 0.6254 MB / 1.396 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.529, allocations: 3.984 kB / 1.396 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.529, allocations: 15.89 kB / 1.396 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.53, allocations: 130.9 kB / 1.396 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.53, allocations: 4 kB / 1.396 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/1.53, allocations: 126.1 kB / 1.396 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.53, allocations: 30.67 kB / 1.396 GB, free: 9.523 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0001802/1.531, allocations: 148 kB / 1.396 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.531, allocations: 86.88 kB / 1.396 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009903/1.532, allocations: 0.6015 MB / 1.397 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.532, allocations: 15.94 kB / 1.397 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.532, allocations: 4 kB / 1.397 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.532, allocations: 3.984 kB / 1.397 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/1.534, allocations: 1.638 MB / 1.399 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.534, allocations: 4 kB / 1.399 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/1.535, allocations: 146.8 kB / 1.399 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.535, allocations: 8 kB / 1.399 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/1.535, allocations: 22.48 kB / 1.399 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.535, allocations: 7.938 kB / 1.399 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.535, allocations: 8 kB / 1.399 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/1.536, allocations: 1.107 MB / 1.4 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/1.536, allocations: 182.1 kB / 1.4 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/1.537, allocations: 18.8 kB / 1.4 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/1.537, allocations: 67.41 kB / 1.4 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/1.537, allocations: 46.88 kB / 1.4 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/1.537, allocations: 19.62 kB / 1.4 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000578/1.538, allocations: 0.4906 MB / 1.401 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.538, allocations: 3.938 kB / 1.401 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008129/1.539, allocations: 321.1 kB / 1.401 GB, free: 5.57 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002128/1.541, allocations: 2.312 MB / 1.403 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001574/1.542, allocations: 1.06 MB / 1.404 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.542, allocations: 0 / 1.404 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/1.543, allocations: 274.2 kB / 1.405 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/1.543, allocations: 172.7 kB / 1.405 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/1.546, allocations: 1.299 MB / 1.406 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/1.546, allocations: 1.004 MB / 1.407 GB, free: 172 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005262/1.547, allocations: 137.4 kB / 1.407 GB, free: 32 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/1.547, allocations: 348.5 kB / 1.407 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of SimCode: time 8.51e-07/1.547, allocations: 0 / 1.407 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/1.582, allocations: 17.3 MB / 1.424 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.583, allocations: 159.1 kB / 1.425 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/4.118, allocations: 0 / 1.425 GB, free: 14.67 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat does not exist to compare? outputFormat=mat