Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.617/2.617, allocations: 287.5 MB / 302.4 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002018/0.002018, allocations: 178.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009228/0.0009227, allocations: 97.52 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004928, allocations: 14.98 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003932/0.2132, allocations: 2.611 MB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.2164, allocations: 1.638 MB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000601/0.217, allocations: 19.94 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.2174, allocations: 106.9 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.2179, allocations: 91.3 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.2186, allocations: 215.8 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2196, allocations: 0.9283 MB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.2205, allocations: 443.6 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.2208, allocations: 242.5 kB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.2212, allocations: 302 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.2213, allocations: 24 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.2214, allocations: 28 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2215, allocations: 131.2 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2216, allocations: 165.1 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.2226, allocations: 0.9664 MB / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2227, allocations: 0 / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2227, allocations: 0 / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.2227, allocations: 4 kB / 0.9862 GB, free: 20.3 MB / 0.6198 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.002784/0.2255, allocations: 1.196 MB / 0.9873 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.2256, allocations: 16.02 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.2258, allocations: 143.3 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.226, allocations: 114.6 kB / 0.9876 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2271, allocations: 0.5667 MB / 0.9882 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.2272, allocations: 66 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.2273, allocations: 95.91 kB / 0.9883 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.2293, allocations: 0.8549 MB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.2294, allocations: 4 kB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.2295, allocations: 36 kB / 0.9892 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.2295, allocations: 23.94 kB / 0.9892 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.2314, allocations: 0.6285 MB / 0.9898 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.2368, allocations: 2.72 MB / 0.9925 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.2389, allocations: 1.331 MB / 0.9938 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009419/0.2399, allocations: 378.6 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/0.24, allocations: 16.55 kB / 0.9942 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009403/0.2409, allocations: 351 kB / 0.9945 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 3.937e-06/0.2409, allocations: 0 / 0.9945 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002401/0.2433, allocations: 0.8066 MB / 0.9953 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.2434, allocations: 162.8 kB / 0.9954 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.2443, allocations: 0.5862 MB / 0.996 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/0.2444, allocations: 45.69 kB / 0.996 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.2447, allocations: 420 kB / 0.9964 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.2449, allocations: 236.5 kB / 0.9967 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.245, allocations: 12 kB / 0.9967 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2451, allocations: 386.9 kB / 0.9971 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.2458, allocations: 233.1 kB / 0.9973 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/0.2467, allocations: 345.3 kB / 0.9976 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007849/0.2475, allocations: 255.2 kB / 0.9978 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2475, allocations: 4 kB / 0.9979 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001843/0.2494, allocations: 0.6798 MB / 0.9985 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.2495, allocations: 122.3 kB / 0.9986 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2495, allocations: 0 / 0.9986 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2495, allocations: 4 kB / 0.9986 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.2505, allocations: 151.8 kB / 0.9988 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.2505, allocations: 4 kB / 0.9988 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.2512, allocations: 107.4 kB / 0.9989 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.2513, allocations: 19.98 kB / 0.9989 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.2513, allocations: 4 kB / 0.9989 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000983/0.2523, allocations: 471.5 kB / 0.9994 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2523, allocations: 4 kB / 0.9994 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.2523, allocations: 11.94 kB / 0.9994 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007735/0.2531, allocations: 127.8 kB / 0.9995 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2531, allocations: 4 kB / 0.9995 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.2536, allocations: 83.44 kB / 0.9996 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.2537, allocations: 28 kB / 0.9996 GB, free: 6.031 MB / 0.6198 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 (81): * Single equations (assignments): 81 * 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.0004455/0.2541, allocations: 289 kB / 0.9999 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.2543, allocations: 79.05 kB / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.2545, allocations: 82.91 kB / 1 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2545, allocations: 12 kB / 1 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.2545, allocations: 0 / 1 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2545, allocations: 3.984 kB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.2577, allocations: 1.578 MB / 1.002 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2577, allocations: 4 kB / 1.002 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.2588, allocations: 127.8 kB / 1.002 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.2588, allocations: 8 kB / 1.002 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.2588, allocations: 19.98 kB / 1.002 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.2589, allocations: 0 / 1.002 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2589, allocations: 0 / 1.002 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.2613, allocations: 1.022 MB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.2615, allocations: 164 kB / 1.003 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2616, allocations: 12 kB / 1.003 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/0.2622, allocations: 47.97 kB / 1.003 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.2623, allocations: 44.5 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.2624, allocations: 23.98 kB / 1.003 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006309/0.263, allocations: 415.1 kB / 1.003 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.263, allocations: 0 / 1.003 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008688/0.2639, allocations: 302.4 kB / 1.004 GB, free: 1.715 MB / 0.6198 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 (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.00273/0.2666, allocations: 1.586 MB / 1.005 GB, free: 104 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00254/0.2692, allocations: 0.8242 MB / 1.006 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.2692, allocations: 0 / 1.006 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.2702, allocations: 307.2 kB / 1.006 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.2716, allocations: 139.2 kB / 1.006 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.2836, allocations: 4.547 MB / 1.011 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/0.2846, allocations: 0.9858 MB / 1.012 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006444/0.2852, allocations: 85.28 kB / 1.012 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.286, allocations: 343.3 kB / 1.012 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.286, allocations: 0 / 1.012 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.3388, allocations: 13.39 MB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/0.3392, allocations: 206.1 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/3.371, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)