Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.00112/0.001121, allocations: 98.69 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.001259/0.001259, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.722/1.722, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005514/0.0005515, allocations: 15 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2395, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004208/0.2438, allocations: 3.681 MB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.2458, allocations: 1.046 MB / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.2462, allocations: 23.94 kB / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.2464, allocations: 79.03 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.2469, allocations: 163.4 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.2474, allocations: 271.6 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.2483, allocations: 0.6715 MB / 0.793 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006434/0.2489, allocations: 489.1 kB / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.2492, allocations: 250.5 kB / 0.7937 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.2495, allocations: 309.9 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.2495, allocations: 28 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-05/0.2496, allocations: 28 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.2497, allocations: 143.2 kB / 0.7942 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2499, allocations: 177.1 kB / 0.7944 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008666/0.2507, allocations: 1.091 MB / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2507, allocations: 0 / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2508, allocations: 0 / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.2508, allocations: 0 / 0.7955 GB, free: 3.371 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002129/0.2529, allocations: 1.247 MB / 0.7967 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.253, allocations: 12.03 kB / 0.7967 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.2532, allocations: 151.8 kB / 0.7968 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.2534, allocations: 130.5 kB / 0.797 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.2543, allocations: 0.5938 MB / 0.7975 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.2543, allocations: 73.94 kB / 0.7976 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.2545, allocations: 100 kB / 0.7977 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.256, allocations: 0.9018 MB / 0.7986 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.256, allocations: 0 / 0.7986 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.2561, allocations: 39.94 kB / 0.7986 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.2561, allocations: 27.98 kB / 0.7986 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.2576, allocations: 0.6793 MB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.2619, allocations: 2.9 MB / 0.8021 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2632, allocations: 0.7146 MB / 0.8028 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.2633, allocations: 8.656 kB / 0.8028 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007287/0.264, allocations: 372.3 kB / 0.8032 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.976e-06/0.264, allocations: 0 / 0.8032 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001648/0.2657, allocations: 0.8874 MB / 0.8041 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.2658, allocations: 166.8 kB / 0.8042 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.2665, allocations: 0.6176 MB / 0.8048 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.2666, allocations: 41.7 kB / 0.8049 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.2669, allocations: 460.2 kB / 0.8053 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.2671, allocations: 248.3 kB / 0.8055 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.2672, allocations: 19.94 kB / 0.8056 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2673, allocations: 338 kB / 0.8059 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.2678, allocations: 257.9 kB / 0.8061 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.2684, allocations: 386 kB / 0.8065 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.2689, allocations: 298.9 kB / 0.8068 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2689, allocations: 0 / 0.8068 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001242/0.2702, allocations: 0.7583 MB / 0.8075 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.2704, allocations: 456.9 kB / 0.808 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2704, allocations: 4 kB / 0.808 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2704, allocations: 4 kB / 0.808 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.2711, allocations: 163.8 kB / 0.8081 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2711, allocations: 4 kB / 0.8081 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.2715, allocations: 115.2 kB / 0.8082 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.2716, allocations: 31.94 kB / 0.8083 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.2716, allocations: 11.06 kB / 0.8083 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007517/0.2723, allocations: 0.5388 MB / 0.8088 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.2724, allocations: 0 / 0.8088 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-06/0.2724, allocations: 8.125 kB / 0.8088 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.2729, allocations: 139.8 kB / 0.809 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2729, allocations: 4 kB / 0.809 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.2732, allocations: 83.34 kB / 0.809 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.2732, allocations: 20 kB / 0.8091 GB, free: 5.066 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003467/0.2736, allocations: 313.6 kB / 0.8094 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.2737, allocations: 86.92 kB / 0.8094 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.2738, allocations: 84.27 kB / 0.8095 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.2738, allocations: 8 kB / 0.8095 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.2739, allocations: 0 / 0.8095 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.2739, allocations: 7.984 kB / 0.8095 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.2762, allocations: 1.655 MB / 0.8111 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2762, allocations: 0 / 0.8111 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.2768, allocations: 143.9 kB / 0.8113 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2768, allocations: 0 / 0.8113 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.2769, allocations: 23.98 kB / 0.8113 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2769, allocations: 3.938 kB / 0.8113 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2769, allocations: 0 / 0.8113 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.2786, allocations: 1.096 MB / 0.8124 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.2788, allocations: 164 kB / 0.8125 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.2789, allocations: 20 kB / 0.8126 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.2792, allocations: 51.97 kB / 0.8126 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.2793, allocations: 48.58 kB / 0.8127 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.2793, allocations: 23.98 kB / 0.8127 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004568/0.2798, allocations: 435.1 kB / 0.8131 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2798, allocations: 0 / 0.8131 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007815/0.2806, allocations: 338.2 kB / 0.8134 GB, free: 0.4922 MB / 0.6231 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 (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.002185/0.2828, allocations: 1.668 MB / 0.815 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.2845, allocations: 0.9313 MB / 0.816 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2845, allocations: 4.062 kB / 0.816 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.285, allocations: 323.6 kB / 0.8163 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.2857, allocations: 161.6 kB / 0.8164 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007643/0.2934, allocations: 5.476 MB / 0.8218 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.294, allocations: 1.029 MB / 0.8228 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003542/0.2944, allocations: 93.97 kB / 0.8229 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.2948, allocations: 371.3 kB / 0.8232 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of SimCode: time 6.02e-07/0.2949, allocations: 0 / 0.8232 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.3355, allocations: 14.53 MB / 0.8374 GB, free: 8 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/0.3358, allocations: 209.8 kB / 0.8376 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.404, allocations: 0 / 0.8376 GB, free: 7.758 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: