Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6377, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.00272/0.6404, allocations: 2.611 MB / 0.9564 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.6427, allocations: 1.664 MB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.6432, allocations: 22.5 kB / 0.9581 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.6435, allocations: 109 kB / 0.9582 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.6437, allocations: 81.64 kB / 0.9582 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.6442, allocations: 231.3 kB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007417/0.6449, allocations: 0.931 MB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006574/0.6456, allocations: 451 kB / 0.9598 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.6459, allocations: 238.4 kB / 0.96 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.6462, allocations: 295.2 kB / 0.9603 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.54e-05/0.6463, allocations: 30.47 kB / 0.9603 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.6464, allocations: 25.44 kB / 0.9604 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.6465, allocations: 134.8 kB / 0.9605 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.6466, allocations: 158.7 kB / 0.9606 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007885/0.6474, allocations: 0.9593 MB / 0.9616 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6474, allocations: 1.031 kB / 0.9616 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6474, allocations: 0 / 0.9616 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.6475, allocations: 0 / 0.9616 GB, free: 2.074 MB / 0.7169 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.001898/0.6494, allocations: 1.156 MB / 0.9627 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.6494, allocations: 9.438 kB / 0.9627 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.6496, allocations: 145.8 kB / 0.9629 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.6498, allocations: 119.6 kB / 0.963 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.6504, allocations: 0.5299 MB / 0.9635 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.6505, allocations: 76.09 kB / 0.9636 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6506, allocations: 90.81 kB / 0.9637 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.652, allocations: 0.8838 MB / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.6521, allocations: 3.984 kB / 0.9645 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.6522, allocations: 44.56 kB / 0.9646 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.6522, allocations: 22.78 kB / 0.9646 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.6535, allocations: 0.6492 MB / 0.9652 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.6579, allocations: 2.856 MB / 0.968 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.6595, allocations: 1.333 MB / 0.9693 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/0.6602, allocations: 413.1 kB / 0.9697 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.6602, allocations: 8.094 kB / 0.9697 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/0.6609, allocations: 373.1 kB / 0.9701 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 2.625e-06/0.661, allocations: 0 / 0.9701 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.001655/0.6626, allocations: 0.8706 MB / 0.9709 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.6628, allocations: 171.4 kB / 0.9711 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.6635, allocations: 0.5499 MB / 0.9716 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.6636, allocations: 46.62 kB / 0.9717 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.6639, allocations: 392.8 kB / 0.972 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.6641, allocations: 261.1 kB / 0.9723 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.6641, allocations: 15.25 kB / 0.9723 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6643, allocations: 378.2 kB / 0.9727 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.6648, allocations: 251.3 kB / 0.9729 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.6655, allocations: 378.6 kB / 0.9733 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.666, allocations: 281.8 kB / 0.9735 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.666, allocations: 0 / 0.9735 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001363/0.6674, allocations: 0.7287 MB / 0.9742 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.6675, allocations: 116.7 kB / 0.9744 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6675, allocations: 2.625 kB / 0.9744 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6675, allocations: 6.672 kB / 0.9744 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.6681, allocations: 161.2 kB / 0.9745 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6682, allocations: 7.672 kB / 0.9745 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.6686, allocations: 116.4 kB / 0.9746 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.6686, allocations: 20.09 kB / 0.9747 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.6686, allocations: 3.531 kB / 0.9747 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008691/0.6695, allocations: 0.5246 MB / 0.9752 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.6695, allocations: 0 / 0.9752 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.6695, allocations: 4.438 kB / 0.9752 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.67, allocations: 133.4 kB / 0.9753 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.67, allocations: 4.281 kB / 0.9753 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.6704, allocations: 89.72 kB / 0.9754 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.6704, allocations: 22.88 kB / 0.9754 GB, free: 8.586 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.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.0004137/0.6708, allocations: 293.6 kB / 0.9757 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6709, allocations: 73.06 kB / 0.9758 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6722, allocations: 0.6773 MB / 0.9764 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6722, allocations: 7.094 kB / 0.9764 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6723, allocations: 1.312 kB / 0.9764 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.6723, allocations: 3.984 kB / 0.9764 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.6749, allocations: 1.728 MB / 0.9781 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6749, allocations: 7.938 kB / 0.9781 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.6755, allocations: 140 kB / 0.9783 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.6755, allocations: 11.95 kB / 0.9783 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.6755, allocations: 19.94 kB / 0.9783 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.6755, allocations: 4.078 kB / 0.9783 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6756, allocations: 7.984 kB / 0.9783 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.6773, allocations: 1.116 MB / 0.9794 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.6776, allocations: 156.1 kB / 0.9795 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.6777, allocations: 23.95 kB / 0.9796 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.678, allocations: 63.95 kB / 0.9796 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.6781, allocations: 44.5 kB / 0.9797 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.6781, allocations: 23.98 kB / 0.9797 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004529/0.6786, allocations: 394.8 kB / 0.9801 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6786, allocations: 0 / 0.9801 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007687/0.6794, allocations: 306.5 kB / 0.9804 GB, free: 4.293 MB / 0.7325 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: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002104/0.6815, allocations: 1.678 MB / 0.982 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.6832, allocations: 0.9069 MB / 0.9829 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6832, allocations: 0 / 0.9829 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.6838, allocations: 327.4 kB / 0.9832 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.6846, allocations: 148.4 kB / 0.9833 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.6919, allocations: 4.556 MB / 0.9878 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.6925, allocations: 0.9819 MB / 0.9888 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.6929, allocations: 89.17 kB / 0.9888 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.6933, allocations: 335.3 kB / 0.9892 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of SimCode: time 5.92e-07/0.6933, allocations: 0 / 0.9892 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.7223, allocations: 13.41 MB / 1.002 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.7226, allocations: 194.8 kB / 1.002 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.882, allocations: 7.938 kB / 1.002 GB, free: 13.7 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat does not exist to compare? outputFormat=mat