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.715/1.715, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.001072/0.001072, allocations: 180.5 kB / 372 MB, free: 10.27 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.563/1.563, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008124/0.0008123, allocations: 101.8 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.000475, allocations: 14.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2869, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002248/0.2893, allocations: 1.653 MB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.292, allocations: 1.62 MB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.2926, allocations: 15.94 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.293, allocations: 55.44 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.2936, allocations: 63.48 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2947, allocations: 314.3 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009378/0.2957, allocations: 0.6451 MB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.2962, allocations: 246.6 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.2966, allocations: 199 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.2969, allocations: 206.8 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.2971, allocations: 24 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.2972, allocations: 31.98 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.2973, allocations: 87.55 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.2974, allocations: 125.3 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.2981, allocations: 0.6586 MB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2981, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2981, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.524e-05/0.2981, allocations: 4 kB / 0.9855 GB, free: 21.61 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.00167/0.2998, allocations: 0.8891 MB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.2999, allocations: 15.97 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3, allocations: 86.52 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.3001, allocations: 71.16 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.3006, allocations: 429.8 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.3007, allocations: 45 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/0.3008, allocations: 59.98 kB / 0.987 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.3016, allocations: 0.4911 MB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3016, allocations: 0 / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.3017, allocations: 24 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3017, allocations: 12 kB / 0.9875 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.3023, allocations: 355.8 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.3043, allocations: 1.574 MB / 0.9894 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.3051, allocations: 0.9041 MB / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.3054, allocations: 227.2 kB / 0.9905 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.3055, allocations: 4 kB / 0.9905 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.3059, allocations: 264.6 kB / 0.9907 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/0.3059, allocations: 4 kB / 0.9907 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.0009776/0.3069, allocations: 0.5532 MB / 0.9913 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.307, allocations: 111.2 kB / 0.9914 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.3074, allocations: 413.9 kB / 0.9918 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.3074, allocations: 37.7 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3076, allocations: 265 kB / 0.9921 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3077, allocations: 157.7 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.3077, allocations: 12 kB / 0.9922 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.3078, allocations: 362.8 kB / 0.9926 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.3082, allocations: 189 kB / 0.9928 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.3086, allocations: 291.4 kB / 0.993 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.309, allocations: 272.1 kB / 0.9933 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.309, allocations: 0 / 0.9933 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009284/0.31, allocations: 0.6392 MB / 0.9939 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/0.3101, allocations: 203.4 kB / 0.9941 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3101, allocations: 0 / 0.9941 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.3101, allocations: 4 kB / 0.9941 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.3105, allocations: 95.83 kB / 0.9942 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3105, allocations: 4 kB / 0.9942 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.311, allocations: 132.8 kB / 0.9943 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.3111, allocations: 23.98 kB / 0.9944 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-06/0.3111, allocations: 4 kB / 0.9944 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007229/0.3118, allocations: 0.525 MB / 0.9949 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3119, allocations: 4 kB / 0.9949 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.3119, allocations: 3.984 kB / 0.9949 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3121, allocations: 75.86 kB / 0.995 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3121, allocations: 7.984 kB / 0.995 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.3126, allocations: 125 kB / 0.9951 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.3127, allocations: 23.98 kB / 0.9951 GB, free: 11.21 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.000256/0.3129, allocations: 259.6 kB / 0.9954 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.313, allocations: 51.44 kB / 0.9954 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.703e-05/0.3131, allocations: 57.17 kB / 0.9955 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3131, allocations: 4 kB / 0.9955 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3131, allocations: 0 / 0.9955 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3131, allocations: 3.953 kB / 0.9955 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3146, allocations: 1.084 MB / 0.9965 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3146, allocations: 144 / 0.9965 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.3149, allocations: 83.89 kB / 0.9966 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.3149, allocations: 11.94 kB / 0.9966 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.315, allocations: 12 kB / 0.9966 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.315, allocations: 0 / 0.9966 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.315, allocations: 3.984 kB / 0.9966 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.316, allocations: 0.7168 MB / 0.9973 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.3161, allocations: 128.5 kB / 0.9975 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.3161, allocations: 19.88 kB / 0.9975 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3164, allocations: 27.98 kB / 0.9975 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3164, allocations: 28.39 kB / 0.9975 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3165, allocations: 16.12 kB / 0.9975 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002702/0.3167, allocations: 283.2 kB / 0.9978 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3167, allocations: 3.938 kB / 0.9978 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005564/0.3173, allocations: 219.3 kB / 0.998 GB, free: 8.117 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.001307/0.3186, allocations: 1.277 MB / 0.9993 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.3199, allocations: 0.9466 MB / 1 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3199, allocations: 4 kB / 1 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.3202, allocations: 194.4 kB / 1 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.3209, allocations: 101.6 kB / 1 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.325, allocations: 3.083 MB / 1.003 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3253, allocations: 0.8554 MB / 1.004 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.3255, allocations: 55.42 kB / 1.004 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.3257, allocations: 203.4 kB / 1.005 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.3258, allocations: 0 / 1.005 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.3538, allocations: 10.96 MB / 1.015 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.3541, allocations: 212.8 kB / 1.015 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/2.84, allocations: 6.562 kB / 1.015 GB, free: 6.27 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)