Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.308/2.308, 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.00116/0.00116, allocations: 176 kB / 0.4901 GB, free: 2.23 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.609/1.609, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008856/0.0008856, allocations: 94.45 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.5068, allocations: 151.2 MB / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.5071, allocations: 75.97 kB / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01773/0.5249, allocations: 6.742 MB / 1.384 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5249, allocations: 0 / 1.384 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.525, allocations: 8 kB / 1.384 GB, free: 11.5 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001261/0.5262, allocations: 0.6755 MB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5263, allocations: 8.031 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.5264, allocations: 74.53 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.5266, allocations: 55.39 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.5271, allocations: 326.2 kB / 1.385 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.5272, allocations: 33 kB / 1.385 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.5272, allocations: 43.92 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.528, allocations: 395 kB / 1.385 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.528, allocations: 0 / 1.385 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.528, allocations: 19.94 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.528, allocations: 8 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.5286, allocations: 291.8 kB / 1.385 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.5308, allocations: 1.282 MB / 1.387 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.5315, allocations: 291.6 kB / 1.387 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.5315, allocations: 4.234 kB / 1.387 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.5319, allocations: 197.9 kB / 1.387 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.5319, allocations: 0 / 1.387 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.0008113/0.5328, allocations: 390.8 kB / 1.388 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.5329, allocations: 140.5 kB / 1.388 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.5333, allocations: 348.8 kB / 1.388 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.5333, allocations: 29.7 kB / 1.388 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.5335, allocations: 216.2 kB / 1.388 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.5336, allocations: 94.64 kB / 1.388 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.5336, allocations: 8 kB / 1.388 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5338, allocations: 350.8 kB / 1.389 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.5341, allocations: 127.7 kB / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.5344, allocations: 195.4 kB / 1.389 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.5347, allocations: 139.9 kB / 1.389 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5347, allocations: 0 / 1.389 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007302/0.5355, allocations: 370.6 kB / 1.389 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.5357, allocations: 452.9 kB / 1.39 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5357, allocations: 4 kB / 1.39 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5357, allocations: 0 / 1.39 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.536, allocations: 75.94 kB / 1.39 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.5361, allocations: 4 kB / 1.39 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.5363, allocations: 63.56 kB / 1.39 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5364, allocations: 19.94 kB / 1.39 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.5364, allocations: 5.094 kB / 1.39 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000462/0.5369, allocations: 252.7 kB / 1.39 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5369, allocations: 4.094 kB / 1.39 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.5369, allocations: 7.953 kB / 1.39 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.5371, allocations: 59.91 kB / 1.39 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5371, allocations: 3.984 kB / 1.39 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.5374, allocations: 43.67 kB / 1.39 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.5374, allocations: 12 kB / 1.39 GB, free: 4.16 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.0002295/0.5376, allocations: 235 kB / 1.391 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.5377, allocations: 43.53 kB / 1.391 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006036/0.5383, allocations: 316.8 kB / 1.391 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5383, allocations: 3.953 kB / 1.391 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5383, allocations: 4 kB / 1.391 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5383, allocations: 0 / 1.391 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.5401, allocations: 1.09 MB / 1.392 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5401, allocations: 4 kB / 1.392 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.5404, allocations: 64.38 kB / 1.392 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.5404, allocations: 8.094 kB / 1.392 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.5404, allocations: 11.94 kB / 1.392 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.5404, allocations: 11.92 kB / 1.392 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5405, allocations: 4 kB / 1.392 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.5415, allocations: 0.8347 MB / 1.393 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5416, allocations: 124.6 kB / 1.393 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.5417, allocations: 19.94 kB / 1.393 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.5419, allocations: 27.98 kB / 1.393 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.542, allocations: 27.91 kB / 1.393 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.542, allocations: 12 kB / 1.393 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003315/0.5424, allocations: 275.1 kB / 1.393 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5424, allocations: 7.938 kB / 1.393 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006029/0.543, allocations: 119.7 kB / 1.394 GB, free: 0.668 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($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.001896/0.5449, allocations: 2.369 MB / 1.396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.5459, allocations: 427.4 kB / 1.396 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.546, allocations: 4.375 kB / 1.396 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.5462, allocations: 127.8 kB / 1.396 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.5468, allocations: 71.53 kB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.5514, allocations: 2.895 MB / 1.399 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.5519, allocations: 0.808 MB / 1.4 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.5521, allocations: 47.44 kB / 1.4 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.5523, allocations: 127.4 kB / 1.4 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/0.5523, allocations: 0 / 1.4 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.5811, allocations: 6.824 MB / 1.407 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.5814, allocations: 211.9 kB / 1.407 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.756, allocations: 0 / 1.407 GB, free: 2.695 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat