Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 176.5 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 0.578 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007948/0.0007947, allocations: 84.75 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 16.12 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1926, allocations: 106.3 MB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003626/0.1963, allocations: 3.952 MB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.1989, allocations: 1.381 MB / 0.9062 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.2, allocations: 19.94 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.2005, allocations: 158.5 kB / 0.9063 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.2012, allocations: 99.17 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.2018, allocations: 339.7 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008443/0.2027, allocations: 1.095 MB / 0.9078 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.2034, allocations: 0.6474 MB / 0.9084 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.2037, allocations: 274.1 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.2039, allocations: 337.5 kB / 0.909 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.204, allocations: 28 kB / 0.9091 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.2041, allocations: 28 kB / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.2042, allocations: 155 kB / 0.9092 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.2044, allocations: 422.6 kB / 0.9096 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.2051, allocations: 1.292 MB / 0.9109 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2052, allocations: 8 kB / 0.9109 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2052, allocations: 0 / 0.9109 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.2052, allocations: 0 / 0.9109 GB, free: 53.41 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.001978/0.2072, allocations: 1.271 MB / 0.9121 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.2072, allocations: 12.03 kB / 0.9122 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.2074, allocations: 148.2 kB / 0.9123 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.2076, allocations: 139.3 kB / 0.9124 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007239/0.2083, allocations: 0.6537 MB / 0.9131 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.2084, allocations: 74.38 kB / 0.9131 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/0.2085, allocations: 100.4 kB / 0.9132 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2098, allocations: 0.9749 MB / 0.9142 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2098, allocations: 7.938 kB / 0.9142 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.2099, allocations: 40 kB / 0.9142 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2099, allocations: 24 kB / 0.9143 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.2111, allocations: 0.7143 MB / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.2147, allocations: 3.58 MB / 0.9184 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2158, allocations: 0.7341 MB / 0.9192 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.2164, allocations: 418.9 kB / 0.9196 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.2164, allocations: 8.656 kB / 0.9196 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006225/0.217, allocations: 368.4 kB / 0.9199 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/0.2171, allocations: 0 / 0.9199 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001507/0.2186, allocations: 0.8915 MB / 0.9208 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.2186, allocations: 162.9 kB / 0.9209 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.2193, allocations: 0.6803 MB / 0.9216 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.2194, allocations: 49.69 kB / 0.9217 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.2196, allocations: 475.8 kB / 0.9221 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2197, allocations: 264.1 kB / 0.9224 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.2197, allocations: 12 kB / 0.9224 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.2198, allocations: 337.9 kB / 0.9227 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.2203, allocations: 265.9 kB / 0.923 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.2208, allocations: 409.5 kB / 0.9233 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009134/0.2217, allocations: 0.6137 MB / 0.9239 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2217, allocations: 0 / 0.9239 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001191/0.2229, allocations: 0.7856 MB / 0.9247 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/0.223, allocations: 138.2 kB / 0.9248 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.223, allocations: 0 / 0.9248 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.223, allocations: 8 kB / 0.9248 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.2236, allocations: 171.8 kB / 0.925 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2236, allocations: 7.938 kB / 0.925 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.224, allocations: 111.2 kB / 0.9251 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.2241, allocations: 31.98 kB / 0.9252 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.2241, allocations: 0 / 0.9252 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006845/0.2248, allocations: 0.5622 MB / 0.9257 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2248, allocations: 7.984 kB / 0.9257 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.2248, allocations: 4 kB / 0.9257 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.2253, allocations: 131.8 kB / 0.9258 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2253, allocations: 11.98 kB / 0.9259 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.2256, allocations: 91.39 kB / 0.9259 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.2256, allocations: 24 kB / 0.926 GB, free: 37.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,$whenCondition1,limPIDInp.trigger,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003344/0.226, allocations: 312.9 kB / 0.9263 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.2261, allocations: 82.97 kB / 0.9263 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.2262, allocations: 88.81 kB / 0.9264 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2262, allocations: 12 kB / 0.9264 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.2262, allocations: 3.984 kB / 0.9264 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2262, allocations: 0 / 0.9264 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.2282, allocations: 1.683 MB / 0.9281 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2282, allocations: 7.938 kB / 0.9281 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.2288, allocations: 139.8 kB / 0.9282 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2288, allocations: 4 kB / 0.9282 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.2289, allocations: 16 kB / 0.9282 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2289, allocations: 4 kB / 0.9282 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2289, allocations: 0 / 0.9282 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.2304, allocations: 1.108 MB / 0.9293 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2305, allocations: 175.8 kB / 0.9295 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.2306, allocations: 16 kB / 0.9295 GB, free: 33.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.2309, allocations: 59.95 kB / 0.9296 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.231, allocations: 40.55 kB / 0.9296 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.2311, allocations: 23.98 kB / 0.9296 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004435/0.2315, allocations: 475.1 kB / 0.9301 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2315, allocations: 3.938 kB / 0.9301 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006447/0.2322, allocations: 338.3 kB / 0.9304 GB, free: 32.86 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.2339, allocations: 1.672 MB / 0.932 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.2353, allocations: 0.9506 MB / 0.933 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2353, allocations: 0 / 0.933 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.2357, allocations: 336.1 kB / 0.9333 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009052/0.2366, allocations: 209.1 kB / 0.9335 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/0.2448, allocations: 7.328 MB / 0.9406 GB, free: 22.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.2451, allocations: 1.033 MB / 0.9417 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003749/0.2455, allocations: 102.4 kB / 0.9418 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.2459, allocations: 395.3 kB / 0.9421 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2459, allocations: 3.938 kB / 0.9421 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.2697, allocations: 14.99 MB / 0.9568 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.2699, allocations: 227.5 kB / 0.957 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/2.853, allocations: 2.188 kB / 0.957 GB, free: 5.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)