Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.576/2.576, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001231/0.001231, allocations: 180.8 kB / 496.1 MB, free: 12.87 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.341/1.341, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0008677/0.0008676, allocations: 91.75 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.856e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2533, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.916/1.169, allocations: 155.1 MB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.17, allocations: 88.81 kB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04214/1.212, allocations: 17.4 MB / 1.387 GB, free: 36 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.212, allocations: 3.938 kB / 1.387 GB, free: 32 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.141e-05/1.212, allocations: 24 kB / 1.387 GB, free: 8 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001744/1.214, allocations: 1.06 MB / 1.389 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.214, allocations: 15.97 kB / 1.389 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/1.214, allocations: 141.8 kB / 1.389 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/1.214, allocations: 122.5 kB / 1.389 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000995/1.215, allocations: 0.5867 MB / 1.389 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/1.215, allocations: 73.5 kB / 1.389 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.215, allocations: 99.23 kB / 1.39 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.217, allocations: 0.8354 MB / 1.39 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.217, allocations: 0 / 1.39 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/1.217, allocations: 49.55 kB / 1.39 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/1.217, allocations: 20 kB / 1.39 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/1.218, allocations: 0.563 MB / 1.391 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/1.222, allocations: 2.684 MB / 1.394 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/1.223, allocations: 0.6027 MB / 1.394 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/1.223, allocations: 369.6 kB / 1.395 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/1.223, allocations: 8.781 kB / 1.395 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/1.224, allocations: 330.3 kB / 1.395 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 2.084e-06/1.224, allocations: 0 / 1.395 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.0008607/1.225, allocations: 0.5437 MB / 1.395 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.225, allocations: 167 kB / 1.396 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/1.225, allocations: 0.5458 MB / 1.396 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/1.225, allocations: 43.45 kB / 1.396 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/1.226, allocations: 425.2 kB / 1.396 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/1.226, allocations: 255.2 kB / 1.397 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/1.226, allocations: 14.31 kB / 1.397 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.226, allocations: 338.9 kB / 1.397 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/1.226, allocations: 193.7 kB / 1.397 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/1.227, allocations: 298.9 kB / 1.398 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/1.227, allocations: 227.8 kB / 1.398 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/1.227, allocations: 0 / 1.398 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008844/1.228, allocations: 0.6137 MB / 1.398 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/1.228, allocations: 190.3 kB / 1.399 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.228, allocations: 4 kB / 1.399 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.228, allocations: 4 kB / 1.399 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/1.229, allocations: 169.7 kB / 1.399 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/1.229, allocations: 7.938 kB / 1.399 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/1.229, allocations: 112.4 kB / 1.399 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/1.229, allocations: 19.5 kB / 1.399 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/1.229, allocations: 4 kB / 1.399 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006926/1.23, allocations: 0.496 MB / 1.399 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/1.23, allocations: 0 / 1.399 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/1.23, allocations: 7.984 kB / 1.399 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/1.23, allocations: 138.8 kB / 1.399 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.23, allocations: 7.953 kB / 1.399 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/1.231, allocations: 86.31 kB / 1.4 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/1.231, allocations: 23.06 kB / 1.4 GB, free: 6.246 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000129/1.231, allocations: 138.7 kB / 1.4 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.231, allocations: 86.95 kB / 1.4 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/1.231, allocations: 85.59 kB / 1.4 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/1.231, allocations: 8 kB / 1.4 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.231, allocations: 0 / 1.4 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.231, allocations: 11.94 kB / 1.4 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.233, allocations: 1.56 MB / 1.401 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.233, allocations: 0 / 1.401 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/1.234, allocations: 143.7 kB / 1.402 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/1.234, allocations: 8 kB / 1.402 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/1.234, allocations: 14.44 kB / 1.402 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/1.234, allocations: 7.953 kB / 1.402 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.234, allocations: 0 / 1.402 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/1.235, allocations: 0.9428 MB / 1.403 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/1.235, allocations: 166.5 kB / 1.403 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/1.235, allocations: 17.56 kB / 1.403 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/1.236, allocations: 60.2 kB / 1.403 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/1.236, allocations: 43.48 kB / 1.403 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/1.236, allocations: 27.05 kB / 1.403 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004659/1.236, allocations: 423.9 kB / 1.403 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/1.236, allocations: 0 / 1.403 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006468/1.237, allocations: 313.3 kB / 1.404 GB, free: 3.094 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.00157/1.239, allocations: 1.525 MB / 1.405 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001211/1.24, allocations: 0.8242 MB / 1.406 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.24, allocations: 4.125 kB / 1.406 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/1.24, allocations: 280 kB / 1.406 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/1.241, allocations: 152.3 kB / 1.406 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/1.243, allocations: 1.366 MB / 1.408 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/1.244, allocations: 1.023 MB / 1.409 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004909/1.244, allocations: 132.8 kB / 1.409 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/1.245, allocations: 354 kB / 1.409 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of SimCode: time 3.6e-07/1.245, allocations: 0 / 1.409 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/1.276, allocations: 15.32 MB / 1.424 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.276, allocations: 180.7 kB / 1.424 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.673, allocations: 1.547 kB / 1.424 GB, free: 15.2 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat