Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001424, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 196.1 kB / 16.53 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 81.77 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2205, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002928/0.2235, allocations: 1.844 MB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.225, allocations: 1.234 MB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2252, allocations: 11.94 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.2254, allocations: 67.2 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.2257, allocations: 75.39 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2259, allocations: 151.8 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.2264, allocations: 484.9 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.2269, allocations: 263.1 kB / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.2271, allocations: 171.3 kB / 0.7877 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2274, allocations: 202.9 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.2274, allocations: 55.94 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.408e-05/0.2275, allocations: 52 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.2276, allocations: 107.6 kB / 0.7881 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.2277, allocations: 214.8 kB / 0.7883 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.2282, allocations: 0.5648 MB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2283, allocations: 0 / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2283, allocations: 0 / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2283, allocations: 0 / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001155/0.2294, allocations: 0.7562 MB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.2295, allocations: 12.03 kB / 0.7896 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.764e-05/0.2296, allocations: 78.7 kB / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.2297, allocations: 48.38 kB / 0.7897 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.2301, allocations: 364.1 kB / 0.79 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2301, allocations: 33.38 kB / 0.7901 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.2302, allocations: 44.31 kB / 0.7901 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.2308, allocations: 387.6 kB / 0.7905 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2308, allocations: 3.938 kB / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2308, allocations: 16 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2308, allocations: 8 kB / 0.7905 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.2314, allocations: 275.8 kB / 0.7908 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.2336, allocations: 1.331 MB / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.2343, allocations: 218.8 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.2345, allocations: 107.8 kB / 0.7924 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2346, allocations: 11.98 kB / 0.7924 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2346, allocations: 34.56 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.2346, allocations: 0 / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0008283/0.2355, allocations: 279.6 kB / 0.7927 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.2356, allocations: 118.7 kB / 0.7928 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.2361, allocations: 413.6 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.2362, allocations: 33.7 kB / 0.7932 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.2363, allocations: 255.7 kB / 0.7935 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.2364, allocations: 63.09 kB / 0.7935 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.2365, allocations: 61.61 kB / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2366, allocations: 346.8 kB / 0.7939 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.2368, allocations: 108.8 kB / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.2371, allocations: 199.5 kB / 0.7942 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.2376, allocations: 259.5 kB / 0.7945 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2376, allocations: 0 / 0.7945 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006054/0.2382, allocations: 348 kB / 0.7948 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2382, allocations: 12 kB / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2382, allocations: 0 / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2383, allocations: 7.938 kB / 0.7948 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2385, allocations: 67.89 kB / 0.7949 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2385, allocations: 4 kB / 0.7949 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.2388, allocations: 51.59 kB / 0.7949 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2388, allocations: 12 kB / 0.795 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000211/0.239, allocations: 192.1 kB / 0.7951 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001827/0.2392, allocations: 168.9 kB / 0.7953 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002365/0.2394, allocations: 219.4 kB / 0.7955 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.2394, allocations: 0 / 0.7955 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003676/0.2398, allocations: 299.8 kB / 0.7958 GB, free: 328 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.2398, allocations: 8 kB / 0.7958 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.2398, allocations: 0 / 0.7958 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-06/0.2399, allocations: 4 kB / 0.7958 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.24, allocations: 59.91 kB / 0.7959 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.2401, allocations: 7.938 kB / 0.7959 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.2402, allocations: 35.73 kB / 0.7959 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2403, allocations: 16 kB / 0.7959 GB, free: 196 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001223/0.2404, allocations: 197.2 kB / 0.7961 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.2405, allocations: 39.53 kB / 0.7961 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.2405, allocations: 39.59 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2405, allocations: 7.938 kB / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2406, allocations: 0 / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2406, allocations: 0 / 0.7962 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.2416, allocations: 0.6989 MB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2416, allocations: 3.828 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.2418, allocations: 39.91 kB / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2418, allocations: 0 / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2418, allocations: 8 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2418, allocations: 3.938 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2418, allocations: 0 / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.2425, allocations: 419 kB / 0.7973 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.2426, allocations: 116.7 kB / 0.7974 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.2426, allocations: 15.98 kB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2428, allocations: 11.98 kB / 0.7975 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.2428, allocations: 11.98 kB / 0.7975 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2428, allocations: 8 kB / 0.7975 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002828/0.2431, allocations: 291.2 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2431, allocations: 4 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004516/0.2436, allocations: 127.4 kB / 0.7979 GB, free: 14.07 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0009184/0.2445, allocations: 0.9595 MB / 0.7988 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006226/0.2452, allocations: 358.5 kB / 0.7992 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2452, allocations: 0.875 kB / 0.7992 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.2454, allocations: 88.02 kB / 0.7992 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.2459, allocations: 78.78 kB / 0.7993 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.2501, allocations: 3.423 MB / 0.8027 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2504, allocations: 0.8035 MB / 0.8035 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.2506, allocations: 43.53 kB / 0.8035 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.2507, allocations: 139.3 kB / 0.8036 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.2507, allocations: 0 / 0.8036 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.2753, allocations: 6.688 MB / 0.8102 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.68, allocations: 9.062 kB / 0.8102 GB, free: 1.445 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)