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.199/2.199, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001127, allocations: 187.6 kB / 496.1 MB, free: 12.85 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.775/1.775, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009954/0.0009953, allocations: 95.89 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.597e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2813, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9835/1.265, allocations: 151.7 MB / 1.367 GB, free: 2.391 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.265, allocations: 78.55 kB / 1.367 GB, free: 2.352 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03515/1.3, allocations: 13.8 MB / 1.381 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.542e-06/1.3, allocations: 4 kB / 1.381 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.432e-05/1.3, allocations: 27.98 kB / 1.381 GB, free: 6.539 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.0018/1.302, allocations: 1.017 MB / 1.382 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.302, allocations: 8.031 kB / 1.382 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/1.303, allocations: 146.2 kB / 1.382 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/1.303, allocations: 114.6 kB / 1.382 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008309/1.304, allocations: 0.5251 MB / 1.382 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/1.304, allocations: 67.31 kB / 1.382 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/1.304, allocations: 101.2 kB / 1.383 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.305, allocations: 0.8105 MB / 1.383 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.305, allocations: 0 / 1.383 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/1.305, allocations: 41.31 kB / 1.383 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/1.305, allocations: 20 kB / 1.383 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/1.306, allocations: 0.5392 MB / 1.384 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/1.31, allocations: 2.63 MB / 1.386 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.311, allocations: 1.225 MB / 1.388 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/1.312, allocations: 375.7 kB / 1.388 GB, free: 312 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/1.312, allocations: 8.781 kB / 1.388 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/1.312, allocations: 316.7 kB / 1.388 GB, free: 76 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.785e-06/1.312, allocations: 4 kB / 1.388 GB, free: 72 kB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0008361/1.313, allocations: 0.5338 MB / 1.389 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/1.313, allocations: 169.4 kB / 1.389 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/1.314, allocations: 0.5088 MB / 1.39 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/1.314, allocations: 42.89 kB / 1.39 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/1.314, allocations: 382.7 kB / 1.39 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/1.314, allocations: 262.5 kB / 1.39 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/1.315, allocations: 14.62 kB / 1.39 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.315, allocations: 386.9 kB / 1.391 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/1.315, allocations: 191.8 kB / 1.391 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/1.315, allocations: 297.7 kB / 1.391 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/1.316, allocations: 221.2 kB / 1.391 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.316, allocations: 0 / 1.391 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008904/1.317, allocations: 0.5969 MB / 1.392 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.317, allocations: 185 kB / 1.392 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.317, allocations: 3.953 kB / 1.392 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.317, allocations: 7.938 kB / 1.392 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/1.318, allocations: 171.3 kB / 1.392 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.318, allocations: 0 / 1.392 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/1.318, allocations: 117.2 kB / 1.392 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/1.318, allocations: 23.23 kB / 1.392 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.318, allocations: 4 kB / 1.392 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007045/1.319, allocations: 494.9 kB / 1.393 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/1.319, allocations: 0 / 1.393 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/1.319, allocations: 4 kB / 1.393 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/1.319, allocations: 146.2 kB / 1.393 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/1.319, allocations: 0 / 1.393 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/1.32, allocations: 89.06 kB / 1.393 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/1.32, allocations: 18.69 kB / 1.393 GB, free: 12.25 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 (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.0001503/1.32, allocations: 151.9 kB / 1.393 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/1.32, allocations: 75.06 kB / 1.393 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009089/1.321, allocations: 0.5879 MB / 1.394 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/1.321, allocations: 8 kB / 1.394 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.321, allocations: 0 / 1.394 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.321, allocations: 3.984 kB / 1.394 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.323, allocations: 1.651 MB / 1.395 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.323, allocations: 0 / 1.395 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/1.324, allocations: 155 kB / 1.396 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.324, allocations: 8 kB / 1.396 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/1.324, allocations: 15.67 kB / 1.396 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.324, allocations: 7.938 kB / 1.396 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.324, allocations: 4 kB / 1.396 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/1.325, allocations: 1.042 MB / 1.397 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/1.325, allocations: 163.3 kB / 1.397 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/1.325, allocations: 18.61 kB / 1.397 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/1.326, allocations: 57.91 kB / 1.397 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/1.326, allocations: 44.03 kB / 1.397 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/1.326, allocations: 27.48 kB / 1.397 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004393/1.326, allocations: 407.2 kB / 1.397 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.326, allocations: 0 / 1.397 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006914/1.327, allocations: 299.4 kB / 1.398 GB, free: 8.504 MB / 0.8542 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 () * 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.00175/1.329, allocations: 2.033 MB / 1.4 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001219/1.33, allocations: 0.8021 MB / 1.4 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.33, allocations: 12.06 kB / 1.4 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/1.33, allocations: 279.4 kB / 1.401 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/1.331, allocations: 136.6 kB / 1.401 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/1.333, allocations: 1.345 MB / 1.402 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/1.334, allocations: 0.9993 MB / 1.403 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004504/1.334, allocations: 120.1 kB / 1.403 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/1.335, allocations: 336.1 kB / 1.403 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/1.335, allocations: 0 / 1.403 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/1.369, allocations: 14.48 MB / 1.418 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.37, allocations: 169.1 kB / 1.418 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.877, allocations: 0 / 1.418 GB, free: 4.918 MB / 0.8698 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