Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.271/2.271, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001128/0.001128, allocations: 182.2 kB / 0.4901 GB, free: 2.219 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.542/1.542, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0009797/0.0009799, allocations: 102.3 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004614, allocations: 13.72 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.486, allocations: 151.7 MB / 1.377 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.4863, allocations: 79.95 kB / 1.378 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03609/0.5225, allocations: 13.82 MB / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5225, allocations: 0 / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.193e-05/0.5226, allocations: 20 kB / 1.391 GB, free: 3.746 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002397/0.525, allocations: 1.153 MB / 1.392 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.525, allocations: 12.56 kB / 1.392 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002775/0.5253, allocations: 143.6 kB / 1.392 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.5256, allocations: 118.6 kB / 1.392 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.5266, allocations: 0.5296 MB / 1.393 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.5267, allocations: 74 kB / 1.393 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.5269, allocations: 99.91 kB / 1.393 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.5284, allocations: 0.8783 MB / 1.394 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.5285, allocations: 0 / 1.394 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.5286, allocations: 39.98 kB / 1.394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.5286, allocations: 24 kB / 1.394 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.5299, allocations: 0.6558 MB / 1.395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.5342, allocations: 2.621 MB / 1.397 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.5358, allocations: 1.356 MB / 1.399 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.5359, allocations: 8.656 kB / 1.399 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007092/0.5366, allocations: 376.3 kB / 1.399 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 4.468e-06/0.5366, allocations: 0 / 1.399 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.001705/0.5383, allocations: 0.8796 MB / 1.4 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.5384, allocations: 166.9 kB / 1.4 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.5391, allocations: 0.5111 MB / 1.4 GB, free: 9.711 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.5392, allocations: 49.69 kB / 1.401 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.5395, allocations: 384.4 kB / 1.401 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.5397, allocations: 264.1 kB / 1.401 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.5397, allocations: 16 kB / 1.401 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5399, allocations: 387 kB / 1.402 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.5405, allocations: 249.8 kB / 1.402 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.5411, allocations: 363.4 kB / 1.402 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.5417, allocations: 286.9 kB / 1.402 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5417, allocations: 4 kB / 1.402 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00133/0.5431, allocations: 0.7231 MB / 1.403 GB, free: 6.965 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.5432, allocations: 186 kB / 1.403 GB, free: 6.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5432, allocations: 4 kB / 1.403 GB, free: 6.766 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.5432, allocations: 7.938 kB / 1.403 GB, free: 6.758 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.5439, allocations: 159.8 kB / 1.403 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.5439, allocations: 4.078 kB / 1.403 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.5443, allocations: 111.3 kB / 1.404 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.5444, allocations: 31.98 kB / 1.404 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.5444, allocations: 4 kB / 1.404 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008086/0.5452, allocations: 0.5076 MB / 1.404 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5452, allocations: 3.984 kB / 1.404 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.5452, allocations: 4 kB / 1.404 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.5457, allocations: 135.8 kB / 1.404 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5457, allocations: 0 / 1.404 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.5461, allocations: 91.38 kB / 1.404 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.5462, allocations: 16 kB / 1.404 GB, free: 5.699 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.000345/0.5465, allocations: 296.9 kB / 1.405 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.5466, allocations: 79 kB / 1.405 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.5478, allocations: 0.6889 MB / 1.405 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5479, allocations: 8 kB / 1.405 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5479, allocations: 0 / 1.405 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5479, allocations: 3.984 kB / 1.405 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.5505, allocations: 1.761 MB / 1.407 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.5505, allocations: 4 kB / 1.407 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.5511, allocations: 155.9 kB / 1.407 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.5511, allocations: 4 kB / 1.407 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.5512, allocations: 16 kB / 1.407 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.5512, allocations: 4 kB / 1.407 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5512, allocations: 0 / 1.407 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.5529, allocations: 1.197 MB / 1.408 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.5531, allocations: 171.9 kB / 1.409 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.5532, allocations: 16 kB / 1.409 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.5535, allocations: 71.89 kB / 1.409 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.5536, allocations: 44.62 kB / 1.409 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.5537, allocations: 27.98 kB / 1.409 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004695/0.5541, allocations: 415.1 kB / 1.409 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5541, allocations: 0 / 1.409 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006843/0.5548, allocations: 299.3 kB / 1.409 GB, free: 304 kB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked 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.002236/0.5571, allocations: 2.196 MB / 1.412 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.5587, allocations: 0.8997 MB / 1.412 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5588, allocations: 8.125 kB / 1.412 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.5593, allocations: 331.9 kB / 1.413 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.56, allocations: 127.6 kB / 1.413 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.5669, allocations: 4.761 MB / 1.418 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.5675, allocations: 0.9981 MB / 1.419 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.5678, allocations: 85.31 kB / 1.419 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.5683, allocations: 339.3 kB / 1.419 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of SimCode: time 1.704e-06/0.5683, allocations: 0 / 1.419 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5742/1.142, allocations: 13.7 MB / 1.432 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/1.143, allocations: 191.8 kB / 1.432 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.641, allocations: 5.125 kB / 1.432 GB, free: 182.8 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat does not exist to compare? outputFormat=mat