Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.796/1.796, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001357/0.001357, allocations: 177.1 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.001055/0.001055, allocations: 97.08 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 17.05 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2771, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002059/0.2792, allocations: 1.665 MB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.2811, allocations: 1.589 MB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2813, allocations: 11.94 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.536e-05/0.2814, allocations: 31.59 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.2818, allocations: 104.9 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.2824, allocations: 312.8 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.2828, allocations: 421.2 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.2832, allocations: 242.6 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2833, allocations: 195.1 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.2836, allocations: 218.8 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.2836, allocations: 24 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.2837, allocations: 35.98 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.2838, allocations: 83.59 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.471e-05/0.2839, allocations: 113.4 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.2843, allocations: 0.6586 MB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2843, allocations: 0 / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2843, allocations: 0 / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2843, allocations: 0 / 0.985 GB, free: 21.86 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001336/0.2857, allocations: 0.8969 MB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2857, allocations: 8.031 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.345e-05/0.2858, allocations: 98.45 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.286, allocations: 75.16 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.2865, allocations: 425.8 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.2865, allocations: 44.98 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.2866, allocations: 60 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.2873, allocations: 491 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.2873, allocations: 11.92 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.2874, allocations: 20 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2874, allocations: 12 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.288, allocations: 355.8 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2899, allocations: 1.589 MB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.2907, allocations: 0.8844 MB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.2907, allocations: 4 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004339/0.2911, allocations: 265.5 kB / 0.9901 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.2912, allocations: 0 / 0.9901 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.0008983/0.2921, allocations: 0.5571 MB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.2921, allocations: 115.2 kB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.2925, allocations: 405.9 kB / 0.9912 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.2925, allocations: 41.7 kB / 0.9912 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.2927, allocations: 269 kB / 0.9915 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.2928, allocations: 145.8 kB / 0.9916 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2928, allocations: 12 kB / 0.9916 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.2929, allocations: 358.8 kB / 0.9919 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.2933, allocations: 193 kB / 0.9921 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.2937, allocations: 295.3 kB / 0.9924 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.294, allocations: 264.2 kB / 0.9927 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.294, allocations: 0 / 0.9927 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008836/0.2949, allocations: 0.6277 MB / 0.9933 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.2951, allocations: 0.6837 MB / 0.9939 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2951, allocations: 11.92 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2951, allocations: 4 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.2955, allocations: 83.89 kB / 0.994 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2955, allocations: 4 kB / 0.994 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.296, allocations: 139.4 kB / 0.9942 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.296, allocations: 27.98 kB / 0.9942 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.2961, allocations: 5.719 kB / 0.9942 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006694/0.2967, allocations: 0.5289 MB / 0.9947 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.2968, allocations: 0 / 0.9947 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.2968, allocations: 4 kB / 0.9947 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.297, allocations: 75.91 kB / 0.9948 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.297, allocations: 7.938 kB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.2975, allocations: 127.6 kB / 0.9949 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.2975, allocations: 23.98 kB / 0.995 GB, free: 11.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002133/0.2977, allocations: 257 kB / 0.9952 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.2978, allocations: 47.44 kB / 0.9952 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.564e-05/0.2979, allocations: 53.19 kB / 0.9953 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2979, allocations: 4 kB / 0.9953 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.2979, allocations: 0 / 0.9953 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2979, allocations: 11.88 kB / 0.9953 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.2992, allocations: 1.087 MB / 0.9964 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2992, allocations: 0 / 0.9964 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.2995, allocations: 83.83 kB / 0.9964 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2995, allocations: 7.953 kB / 0.9965 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.2996, allocations: 12 kB / 0.9965 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2996, allocations: 0 / 0.9965 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2996, allocations: 0 / 0.9965 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009376/0.3005, allocations: 0.7169 MB / 0.9972 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.3006, allocations: 132.4 kB / 0.9973 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.3007, allocations: 11.95 kB / 0.9973 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.3009, allocations: 31.97 kB / 0.9973 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.3009, allocations: 28.41 kB / 0.9974 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.301, allocations: 19.98 kB / 0.9974 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002555/0.3012, allocations: 283.2 kB / 0.9977 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3012, allocations: 0 / 0.9977 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005498/0.3018, allocations: 211.3 kB / 0.9979 GB, free: 8.098 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001166/0.303, allocations: 1.281 MB / 0.9991 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.3041, allocations: 0.9501 MB / 1 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3041, allocations: 4 kB / 1 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.3044, allocations: 195 kB / 1 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.3049, allocations: 100.9 kB / 1 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3067, allocations: 2.379 MB / 1.003 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.307, allocations: 0.871 MB / 1.003 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.3071, allocations: 55.66 kB / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3074, allocations: 199.4 kB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.3074, allocations: 4 kB / 1.004 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.3322, allocations: 10.69 MB / 1.014 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.3324, allocations: 214.8 kB / 1.014 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.582, allocations: 2.188 kB / 1.014 GB, free: 7.199 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)