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.PIDWithReset.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.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.881/1.881, allocations: 288.4 MB / 303.3 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.0009777/0.0009777, allocations: 172.6 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.673/1.673, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007413/0.0007415, allocations: 102.2 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005058, allocations: 13.94 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2733, 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.PIDWithReset): time 0.003009/0.2764, allocations: 2.607 MB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.279, allocations: 1.634 MB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.2796, allocations: 15.94 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.2799, allocations: 114.9 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.2804, allocations: 91.3 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.2809, allocations: 215.7 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.2817, allocations: 0.9245 MB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.2824, allocations: 443.6 kB / 0.9856 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.2826, allocations: 246.5 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.2829, allocations: 294 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.283, allocations: 28 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.622e-05/0.2831, allocations: 24 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.2832, allocations: 131.3 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2833, allocations: 169.1 kB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.2839, allocations: 0.9742 MB / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2839, allocations: 0 / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2839, allocations: 0 / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2839, allocations: 0 / 0.9874 GB, free: 19.62 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.001791/0.2857, allocations: 1.192 MB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.2858, allocations: 16.02 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.2859, allocations: 135.4 kB / 0.9887 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2861, allocations: 118.6 kB / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007347/0.2868, allocations: 0.5667 MB / 0.9893 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.2869, allocations: 70 kB / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.287, allocations: 95.89 kB / 0.9895 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2884, allocations: 0.8587 MB / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.2884, allocations: 0 / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.2885, allocations: 39.98 kB / 0.9904 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2885, allocations: 24 kB / 0.9904 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.2897, allocations: 0.6207 MB / 0.991 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.2931, allocations: 2.728 MB / 0.9937 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.2945, allocations: 1.323 MB / 0.9949 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.2951, allocations: 390.5 kB / 0.9953 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.2952, allocations: 8.562 kB / 0.9953 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006885/0.2959, allocations: 347.1 kB / 0.9957 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 3.476e-06/0.2959, allocations: 0 / 0.9957 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001759/0.2977, allocations: 0.8144 MB / 0.9965 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.2977, allocations: 162.8 kB / 0.9966 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.2984, allocations: 0.59 MB / 0.9972 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.2985, allocations: 45.64 kB / 0.9972 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.2988, allocations: 420.1 kB / 0.9976 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.299, allocations: 232.5 kB / 0.9979 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.2991, allocations: 16 kB / 0.9979 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2992, allocations: 382.8 kB / 0.9982 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.2997, allocations: 225.2 kB / 0.9984 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.3002, allocations: 353.4 kB / 0.9988 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.3007, allocations: 259.1 kB / 0.999 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3007, allocations: 0 / 0.999 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00158/0.3023, allocations: 0.6799 MB / 0.9997 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.3024, allocations: 119.6 kB / 0.9998 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3025, allocations: 0 / 0.9998 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.3025, allocations: 8.094 kB / 0.9998 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.3032, allocations: 147.8 kB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.3032, allocations: 7.938 kB / 1 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.3037, allocations: 111.4 kB / 1 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.3037, allocations: 20 kB / 1 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.3037, allocations: 4 kB / 1 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006326/0.3044, allocations: 467.6 kB / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.3044, allocations: 96 / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.3044, allocations: 8 kB / 1.001 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.305, allocations: 123.8 kB / 1.001 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.305, allocations: 8.062 kB / 1.001 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.3054, allocations: 83.34 kB / 1.001 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3055, allocations: 20 kB / 1.001 GB, free: 5.367 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.0004587/0.3059, allocations: 301 kB / 1.001 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.306, allocations: 75.06 kB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.3062, allocations: 78.95 kB / 1.001 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3062, allocations: 11.95 kB / 1.001 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3062, allocations: 0 / 1.001 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3062, allocations: 7.922 kB / 1.001 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3083, allocations: 1.586 MB / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3083, allocations: 0 / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.3089, allocations: 135.8 kB / 1.003 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3089, allocations: 4 kB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.3089, allocations: 15.94 kB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3089, allocations: 4 kB / 1.003 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3089, allocations: 0 / 1.003 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.3105, allocations: 1.026 MB / 1.004 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3106, allocations: 156 kB / 1.004 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.3107, allocations: 12.19 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.311, allocations: 55.95 kB / 1.004 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.3111, allocations: 40.44 kB / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.3112, allocations: 27.98 kB / 1.004 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004274/0.3116, allocations: 415.2 kB / 1.005 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3116, allocations: 3.938 kB / 1.005 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000688/0.3123, allocations: 302.4 kB / 1.005 GB, free: 1.031 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.001978/0.3143, allocations: 1.582 MB / 1.006 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.3162, allocations: 0.832 MB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3162, allocations: 0 / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/0.3168, allocations: 303.2 kB / 1.008 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.3177, allocations: 136.3 kB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008409/0.3261, allocations: 4.551 MB / 1.012 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.3269, allocations: 0.9859 MB / 1.013 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00042/0.3274, allocations: 85.12 kB / 1.013 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.3279, allocations: 351.3 kB / 1.013 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.3279, allocations: 0 / 1.013 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.3617, allocations: 13.39 MB / 1.027 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/0.362, allocations: 213.6 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/2.792, allocations: 0 / 1.027 GB, free: 10.72 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)