Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.496/2.496, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001272/0.001272, allocations: 188.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.663/1.663, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009643/0.0009641, allocations: 87.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.012e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9846/1.262, allocations: 152 MB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/1.262, allocations: 76.45 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02575/1.288, allocations: 9.51 MB / 1.377 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.844e-06/1.288, allocations: 0 / 1.377 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.783e-05/1.288, allocations: 12 kB / 1.377 GB, free: 9.91 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001222/1.289, allocations: 0.7489 MB / 1.377 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.289, allocations: 12.03 kB / 1.377 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.584e-05/1.289, allocations: 90.08 kB / 1.377 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/1.289, allocations: 71.2 kB / 1.378 GB, free: 9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/1.29, allocations: 392.6 kB / 1.378 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/1.29, allocations: 42.69 kB / 1.378 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.29, allocations: 53.56 kB / 1.378 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/1.291, allocations: 466.9 kB / 1.378 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.291, allocations: 0 / 1.378 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/1.291, allocations: 23.06 kB / 1.379 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/1.291, allocations: 12 kB / 1.379 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/1.291, allocations: 303.8 kB / 1.379 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/1.294, allocations: 1.612 MB / 1.38 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/1.294, allocations: 0.8177 MB / 1.381 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/1.295, allocations: 212.7 kB / 1.381 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/1.295, allocations: 8.703 kB / 1.381 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/1.295, allocations: 224.8 kB / 1.382 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 2.685e-06/1.295, allocations: 0 / 1.382 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0005912/1.296, allocations: 371.6 kB / 1.382 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/1.296, allocations: 119.2 kB / 1.382 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/1.296, allocations: 345.6 kB / 1.382 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/1.296, allocations: 43.83 kB / 1.382 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/1.296, allocations: 244.7 kB / 1.383 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.297, allocations: 157 kB / 1.383 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/1.297, allocations: 9.875 kB / 1.383 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.297, allocations: 362 kB / 1.383 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/1.297, allocations: 151.3 kB / 1.383 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/1.297, allocations: 236.8 kB / 1.384 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/1.298, allocations: 196.4 kB / 1.384 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.298, allocations: 4 kB / 1.384 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007546/1.298, allocations: 0.4942 MB / 1.384 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/1.299, allocations: 0.5582 MB / 1.385 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/1.299, allocations: 4 kB / 1.385 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.299, allocations: 7.984 kB / 1.385 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/1.299, allocations: 99.64 kB / 1.385 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.299, allocations: 4 kB / 1.385 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/1.299, allocations: 98.47 kB / 1.385 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/1.299, allocations: 15.56 kB / 1.385 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.299, allocations: 9.359 kB / 1.385 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006469/1.3, allocations: 449.5 kB / 1.385 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.3, allocations: 3.984 kB / 1.385 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/1.3, allocations: 4.156 kB / 1.385 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/1.3, allocations: 83.66 kB / 1.386 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.301, allocations: 7.938 kB / 1.386 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/1.301, allocations: 79.33 kB / 1.386 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/1.301, allocations: 19.81 kB / 1.386 GB, free: 2.145 MB / 0.8386 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 (56): * Single equations (assignments): 55 * 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.0001233/1.301, allocations: 134.4 kB / 1.386 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/1.301, allocations: 47.39 kB / 1.386 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/1.302, allocations: 403.2 kB / 1.386 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.302, allocations: 7.938 kB / 1.386 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.302, allocations: 0 / 1.386 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.302, allocations: 7.984 kB / 1.386 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.303, allocations: 1.114 MB / 1.387 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.303, allocations: 4 kB / 1.387 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/1.304, allocations: 86.95 kB / 1.387 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/1.304, allocations: 4 kB / 1.387 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.304, allocations: 11.06 kB / 1.387 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.304, allocations: 4 kB / 1.387 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.304, allocations: 4 kB / 1.387 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/1.305, allocations: 0.7496 MB / 1.388 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.305, allocations: 136.2 kB / 1.388 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/1.305, allocations: 15.48 kB / 1.388 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.305, allocations: 26.86 kB / 1.388 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/1.305, allocations: 39.66 kB / 1.388 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/1.305, allocations: 15.19 kB / 1.388 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002772/1.305, allocations: 283.2 kB / 1.389 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.305, allocations: 0 / 1.389 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006108/1.306, allocations: 199.3 kB / 1.389 GB, free: 15.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * 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 (49): * Single equations (assignments): 48 * 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.00139/1.307, allocations: 1.73 MB / 1.39 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.308, allocations: 0.7326 MB / 1.391 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.308, allocations: 0.625 kB / 1.391 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/1.309, allocations: 183.4 kB / 1.391 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/1.309, allocations: 82.58 kB / 1.391 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.311, allocations: 0.8267 MB / 1.392 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/1.311, allocations: 0.8636 MB / 1.393 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002929/1.311, allocations: 81.42 kB / 1.393 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/1.312, allocations: 180.9 kB / 1.393 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of SimCode: time 3.6e-07/1.312, allocations: 4 kB / 1.393 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/1.335, allocations: 10.28 MB / 1.403 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/1.335, allocations: 162.5 kB / 1.404 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.577, allocations: 0 / 1.404 GB, free: 0.9609 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat does not exist to compare? outputFormat=mat