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.0009455/0.0009459, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009619/0.000962, allocations: 177.3 kB / 15.94 MB, free: 228 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.388/2.388, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 12 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6538, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002626/0.6565, allocations: 2.642 MB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.6589, allocations: 1.671 MB / 0.9578 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.6594, allocations: 18.31 kB / 0.9578 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.6596, allocations: 79.03 kB / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.66, allocations: 139.9 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.6605, allocations: 248.8 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.6611, allocations: 0.597 MB / 0.9589 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005551/0.6617, allocations: 459.5 kB / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.6619, allocations: 238.6 kB / 0.9595 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.6622, allocations: 294.8 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.6622, allocations: 26.66 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.6623, allocations: 25.81 kB / 0.9599 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.6624, allocations: 133.9 kB / 0.96 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.6625, allocations: 163.8 kB / 0.9601 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.6631, allocations: 0.9553 MB / 0.9611 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.6631, allocations: 0 / 0.9611 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6631, allocations: 0 / 0.9611 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.6632, allocations: 1.375 kB / 0.9611 GB, free: 2.117 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.001908/0.6651, allocations: 1.151 MB / 0.9622 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6651, allocations: 9.375 kB / 0.9622 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.6653, allocations: 149.9 kB / 0.9624 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.6655, allocations: 126.9 kB / 0.9625 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/0.6662, allocations: 0.5263 MB / 0.963 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.6663, allocations: 72.84 kB / 0.9631 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6664, allocations: 98.53 kB / 0.9632 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.6679, allocations: 0.8752 MB / 0.964 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6679, allocations: 1.219 kB / 0.964 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.668, allocations: 36.22 kB / 0.964 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.668, allocations: 22.81 kB / 0.9641 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.6692, allocations: 0.6496 MB / 0.9647 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004435/0.6737, allocations: 2.863 MB / 0.9675 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.6754, allocations: 1.334 MB / 0.9688 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.6754, allocations: 8.812 kB / 0.9688 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/0.6761, allocations: 366.1 kB / 0.9692 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 4.078e-06/0.6762, allocations: 112 / 0.9692 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.001857/0.678, allocations: 0.8707 MB / 0.97 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.6782, allocations: 167.2 kB / 0.9702 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.6789, allocations: 0.5539 MB / 0.9707 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.679, allocations: 42.45 kB / 0.9708 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.6793, allocations: 393.4 kB / 0.9711 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.6796, allocations: 257 kB / 0.9714 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.6796, allocations: 10.44 kB / 0.9714 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6798, allocations: 383.3 kB / 0.9717 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.6804, allocations: 251.2 kB / 0.972 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/0.6811, allocations: 372.8 kB / 0.9723 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.6818, allocations: 288 kB / 0.9726 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6818, allocations: 0 / 0.9726 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001819/0.6836, allocations: 0.7241 MB / 0.9733 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.6838, allocations: 366.5 kB / 0.9737 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6839, allocations: 6.094 kB / 0.9737 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6839, allocations: 3.031 kB / 0.9737 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.6845, allocations: 161.2 kB / 0.9738 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6845, allocations: 8.562 kB / 0.9738 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.685, allocations: 115.2 kB / 0.974 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.6851, allocations: 27.64 kB / 0.974 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.6851, allocations: 3.656 kB / 0.974 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008883/0.686, allocations: 0.5168 MB / 0.9745 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.686, allocations: 1.094 kB / 0.9745 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.686, allocations: 4.75 kB / 0.9745 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.6865, allocations: 146.1 kB / 0.9746 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6865, allocations: 2.531 kB / 0.9746 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.6869, allocations: 90.06 kB / 0.9747 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.687, allocations: 18.69 kB / 0.9747 GB, free: 8.566 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.0005441/0.6875, allocations: 289.7 kB / 0.975 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6876, allocations: 73.53 kB / 0.9751 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.6889, allocations: 0.6733 MB / 0.9757 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.689, allocations: 10.92 kB / 0.9758 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.689, allocations: 9.172 kB / 0.9758 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.689, allocations: 3.938 kB / 0.9758 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.6917, allocations: 1.721 MB / 0.9774 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6917, allocations: 5.312 kB / 0.9775 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.6923, allocations: 150.3 kB / 0.9776 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.6923, allocations: 4.688 kB / 0.9776 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.6924, allocations: 15.03 kB / 0.9776 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.6924, allocations: 7.938 kB / 0.9776 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6924, allocations: 1.5 kB / 0.9776 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.6943, allocations: 1.194 MB / 0.9788 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.6945, allocations: 160 kB / 0.9789 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.6946, allocations: 16 kB / 0.979 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.6949, allocations: 59.95 kB / 0.979 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.695, allocations: 40.47 kB / 0.9791 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.6951, allocations: 31.98 kB / 0.9791 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004498/0.6955, allocations: 390.8 kB / 0.9795 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6955, allocations: 0 / 0.9795 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007606/0.6963, allocations: 310.5 kB / 0.9798 GB, free: 4.625 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.002583/0.6989, allocations: 2.162 MB / 0.9819 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.7008, allocations: 0.903 MB / 0.9827 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7008, allocations: 0 / 0.9827 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.7014, allocations: 331.5 kB / 0.9831 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.7021, allocations: 124.2 kB / 0.9832 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.7095, allocations: 4.986 MB / 0.988 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.7101, allocations: 0.9976 MB / 0.989 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.7105, allocations: 85.19 kB / 0.9891 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.7109, allocations: 335.3 kB / 0.9894 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of SimCode: time 7.82e-07/0.7109, allocations: 0 / 0.9894 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.7368, allocations: 13.39 MB / 1.002 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.7372, allocations: 199.9 kB / 1.003 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.775, allocations: 4 kB / 1.003 GB, free: 13.12 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