Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.823/1.823, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.001144/0.001144, allocations: 182 kB / 371.8 MB, free: 10.28 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.676/1.676, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0008822/0.000882, allocations: 97.31 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004088, allocations: 14.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1978, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003077/0.2009, allocations: 3.674 MB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2027, allocations: 1.038 MB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.2031, allocations: 23.94 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.2032, allocations: 87.02 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.2037, allocations: 160.5 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.2041, allocations: 275.6 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006584/0.2048, allocations: 0.6754 MB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005165/0.2053, allocations: 473.1 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.2055, allocations: 250.5 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.2058, allocations: 313.9 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/0.2058, allocations: 28 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.2059, allocations: 28 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.206, allocations: 143.2 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.898e-05/0.2061, allocations: 181.1 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.2067, allocations: 1.095 MB / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2067, allocations: 0 / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2067, allocations: 0 / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.2067, allocations: 0 / 0.9877 GB, free: 19.12 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001836/0.2086, allocations: 1.251 MB / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2086, allocations: 8.031 kB / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.2088, allocations: 147.9 kB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2089, allocations: 126.5 kB / 0.9892 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/0.2097, allocations: 0.5937 MB / 0.9898 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.2097, allocations: 74 kB / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/0.2098, allocations: 100 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.2111, allocations: 0.9056 MB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2111, allocations: 0 / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.2111, allocations: 43.98 kB / 0.9909 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.2112, allocations: 24 kB / 0.9909 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2123, allocations: 0.6754 MB / 0.9916 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.2157, allocations: 2.884 MB / 0.9944 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.2167, allocations: 0.73 MB / 0.9951 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.2168, allocations: 12.64 kB / 0.9951 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005898/0.2174, allocations: 364.4 kB / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.096e-06/0.2174, allocations: 0 / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001417/0.2188, allocations: 0.8834 MB / 0.9963 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2189, allocations: 170.8 kB / 0.9965 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.2194, allocations: 0.6254 MB / 0.9971 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.2195, allocations: 45.69 kB / 0.9971 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.2197, allocations: 460.2 kB / 0.9976 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.2198, allocations: 252.3 kB / 0.9978 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.2198, allocations: 16 kB / 0.9978 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2199, allocations: 337.9 kB / 0.9981 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.2204, allocations: 249.9 kB / 0.9984 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.2209, allocations: 390 kB / 0.9987 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.2213, allocations: 294.9 kB / 0.999 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2213, allocations: 0 / 0.999 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001076/0.2224, allocations: 0.7543 MB / 0.9998 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.2225, allocations: 456.9 kB / 1 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2225, allocations: 4 kB / 1 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2226, allocations: 4 kB / 1 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.2231, allocations: 167.8 kB / 1 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2232, allocations: 4 kB / 1 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.2235, allocations: 115.2 kB / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.2236, allocations: 27.95 kB / 1.001 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.722e-06/0.2236, allocations: 7.938 kB / 1.001 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006436/0.2242, allocations: 0.5427 MB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2243, allocations: 4 kB / 1.001 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.2243, allocations: 4 kB / 1.001 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.2247, allocations: 139.8 kB / 1.001 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2247, allocations: 7.984 kB / 1.001 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.225, allocations: 83.48 kB / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.225, allocations: 24 kB / 1.001 GB, free: 4.828 MB / 0.6198 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.0003183/0.2254, allocations: 301 kB / 1.002 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.2254, allocations: 90.91 kB / 1.002 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.2256, allocations: 84.27 kB / 1.002 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.2256, allocations: 8 kB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.2256, allocations: 4 kB / 1.002 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.2256, allocations: 3.984 kB / 1.002 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.2275, allocations: 1.659 MB / 1.003 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2275, allocations: 4 kB / 1.003 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.228, allocations: 143.8 kB / 1.004 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.228, allocations: 0 / 1.004 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2281, allocations: 16 kB / 1.004 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2281, allocations: 4 kB / 1.004 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2281, allocations: 0 / 1.004 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2295, allocations: 1.1 MB / 1.005 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.2297, allocations: 164.1 kB / 1.005 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.2297, allocations: 12.09 kB / 1.005 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.2301, allocations: 67.83 kB / 1.005 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.2301, allocations: 36.61 kB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.2302, allocations: 23.98 kB / 1.005 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003956/0.2306, allocations: 435 kB / 1.005 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2306, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006188/0.2312, allocations: 338.2 kB / 1.006 GB, free: 272 kB / 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 (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.002012/0.2332, allocations: 1.666 MB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.2349, allocations: 0.9387 MB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2349, allocations: 0 / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.2354, allocations: 332.1 kB / 1.009 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.2361, allocations: 154.1 kB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007345/0.2434, allocations: 5.483 MB / 1.014 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.244, allocations: 1.033 MB / 1.015 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.2444, allocations: 89.91 kB / 1.015 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.2449, allocations: 371.3 kB / 1.015 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.2449, allocations: 0 / 1.015 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.2752, allocations: 14.55 MB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.2754, allocations: 211.9 kB / 1.03 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.645, allocations: 2.656 kB / 1.03 GB, free: 7.508 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)