Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_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.0007977/0.0007978, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005367/0.005367, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004892, allocations: 17.31 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003361/0.2087, allocations: 2.829 MB / 0.7908 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.2113, allocations: 1.649 MB / 0.7924 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.2119, allocations: 19.94 kB / 0.7924 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.2123, allocations: 110.9 kB / 0.7925 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.2129, allocations: 99.25 kB / 0.7926 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.2135, allocations: 295.8 kB / 0.7929 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2146, allocations: 0.975 MB / 0.7938 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008615/0.2155, allocations: 0.5724 MB / 0.7944 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.2158, allocations: 258.3 kB / 0.7946 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.2161, allocations: 317.7 kB / 0.795 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.669e-05/0.2162, allocations: 24 kB / 0.795 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.2163, allocations: 32 kB / 0.795 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2164, allocations: 135.1 kB / 0.7951 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.2167, allocations: 383 kB / 0.7955 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008869/0.2176, allocations: 1.175 MB / 0.7966 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2176, allocations: 0 / 0.7966 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2176, allocations: 0 / 0.7966 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.539e-05/0.2177, allocations: 0 / 0.7966 GB, free: 2.555 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001866/0.2195, allocations: 1.177 MB / 0.7978 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2196, allocations: 12.03 kB / 0.7978 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.2197, allocations: 135.6 kB / 0.7979 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.2199, allocations: 119.5 kB / 0.7981 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.2206, allocations: 0.5986 MB / 0.7986 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.2206, allocations: 70.38 kB / 0.7987 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2208, allocations: 92.28 kB / 0.7988 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.2221, allocations: 0.8555 MB / 0.7996 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2221, allocations: 11.92 kB / 0.7996 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.2222, allocations: 43.98 kB / 0.7997 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.2222, allocations: 20 kB / 0.7997 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.2234, allocations: 0.6285 MB / 0.8003 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.2269, allocations: 2.728 MB / 0.803 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2283, allocations: 1.333 MB / 0.8043 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.2289, allocations: 390.6 kB / 0.8047 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.229, allocations: 8.562 kB / 0.8047 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006216/0.2296, allocations: 351.1 kB / 0.805 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 1.764e-06/0.2296, allocations: 0 / 0.805 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001489/0.2311, allocations: 0.8144 MB / 0.8058 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.2312, allocations: 166.8 kB / 0.8059 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.2318, allocations: 0.594 MB / 0.8065 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.2319, allocations: 41.7 kB / 0.8066 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.2322, allocations: 420 kB / 0.807 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.2324, allocations: 228.6 kB / 0.8072 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2325, allocations: 69.67 kB / 0.8073 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2327, allocations: 390.7 kB / 0.8076 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.2331, allocations: 229.2 kB / 0.8078 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.2337, allocations: 357.4 kB / 0.8082 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.2346, allocations: 0.5273 MB / 0.8087 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2346, allocations: 0 / 0.8087 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00115/0.2358, allocations: 0.6916 MB / 0.8094 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.2359, allocations: 114.2 kB / 0.8095 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2359, allocations: 4 kB / 0.8095 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2359, allocations: 4.094 kB / 0.8095 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.2364, allocations: 155.7 kB / 0.8096 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2364, allocations: 4 kB / 0.8096 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.2368, allocations: 111.3 kB / 0.8097 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.2369, allocations: 20 kB / 0.8098 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.489e-06/0.2369, allocations: 4 kB / 0.8098 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006664/0.2375, allocations: 479.5 kB / 0.8102 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.2376, allocations: 0 / 0.8102 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-06/0.2376, allocations: 8.094 kB / 0.8102 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.238, allocations: 119.8 kB / 0.8104 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.238, allocations: 7.938 kB / 0.8104 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.2383, allocations: 83.41 kB / 0.8104 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2383, allocations: 19.94 kB / 0.8105 GB, free: 3.879 MB / 0.6231 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 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.2386, allocations: 301.8 kB / 0.8107 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.2387, allocations: 75.06 kB / 0.8108 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.2389, allocations: 78.95 kB / 0.8109 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.2389, allocations: 8 kB / 0.8109 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2389, allocations: 0 / 0.8109 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2389, allocations: 3.984 kB / 0.8109 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.2411, allocations: 1.594 MB / 0.8125 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2411, allocations: 0 / 0.8125 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.2417, allocations: 135.8 kB / 0.8126 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.2417, allocations: 7.938 kB / 0.8126 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.2417, allocations: 12 kB / 0.8126 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2417, allocations: 4 kB / 0.8126 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2417, allocations: 0 / 0.8126 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.2434, allocations: 1.029 MB / 0.8136 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.2435, allocations: 152 kB / 0.8138 GB, free: 388 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.2436, allocations: 19.94 kB / 0.8138 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2439, allocations: 55.95 kB / 0.8138 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.244, allocations: 36.52 kB / 0.8139 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.244, allocations: 23.98 kB / 0.8139 GB, free: 252 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004518/0.2445, allocations: 423.1 kB / 0.8143 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2445, allocations: 0 / 0.8143 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006265/0.2451, allocations: 306.4 kB / 0.8146 GB, free: 15.54 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001939/0.2471, allocations: 1.589 MB / 0.8161 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.2485, allocations: 0.8398 MB / 0.817 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2485, allocations: 0 / 0.817 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.249, allocations: 307.2 kB / 0.8173 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.2498, allocations: 143.3 kB / 0.8174 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.2584, allocations: 6.586 MB / 0.8238 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.259, allocations: 0.9816 MB / 0.8248 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.2593, allocations: 85.19 kB / 0.8249 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.2598, allocations: 347.3 kB / 0.8252 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.2598, allocations: 0 / 0.8252 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.2845, allocations: 12.9 MB / 0.8378 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.2847, allocations: 210.5 kB / 0.838 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.262, allocations: 3.938 kB / 0.838 GB, free: 7.582 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)