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.0008398/0.0008399, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004927/0.004927, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.382/1.382, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.627/1.627, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004976/0.0004976, allocations: 17.47 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001926/0.2103, allocations: 1.492 MB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2117, allocations: 1.206 MB / 0.7907 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2119, allocations: 8 kB / 0.7907 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2121, allocations: 55.44 kB / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.2123, allocations: 39.72 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.2126, allocations: 139.8 kB / 0.7909 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.213, allocations: 445 kB / 0.7913 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.2134, allocations: 247.1 kB / 0.7915 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2135, allocations: 111.2 kB / 0.7916 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2136, allocations: 146.9 kB / 0.7918 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.2137, allocations: 12 kB / 0.7918 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.2137, allocations: 12 kB / 0.7918 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.2138, allocations: 51.7 kB / 0.7919 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2139, allocations: 188.4 kB / 0.792 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.2143, allocations: 0.5295 MB / 0.7926 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2143, allocations: 0 / 0.7926 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2143, allocations: 0 / 0.7926 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2143, allocations: 0 / 0.7926 GB, free: 6.766 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.001057/0.2154, allocations: 0.6862 MB / 0.7932 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2154, allocations: 12.03 kB / 0.7932 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.188e-05/0.2155, allocations: 74.72 kB / 0.7933 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.2156, allocations: 52.28 kB / 0.7934 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.216, allocations: 368.2 kB / 0.7937 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2161, allocations: 29.38 kB / 0.7937 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.2161, allocations: 40.38 kB / 0.7938 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.2168, allocations: 399.6 kB / 0.7942 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2168, allocations: 3.938 kB / 0.7942 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.2168, allocations: 19.98 kB / 0.7942 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2168, allocations: 8 kB / 0.7942 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/0.2174, allocations: 295.8 kB / 0.7945 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.2191, allocations: 1.351 MB / 0.7958 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.2197, allocations: 250.8 kB / 0.796 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.2199, allocations: 111.9 kB / 0.7961 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.2199, allocations: 4 kB / 0.7961 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.22, allocations: 34.56 kB / 0.7962 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.22, allocations: 3.938 kB / 0.7962 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006329/0.2206, allocations: 312 kB / 0.7965 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.2207, allocations: 102.8 kB / 0.7966 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.2211, allocations: 421.5 kB / 0.797 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.2212, allocations: 29.7 kB / 0.797 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.2213, allocations: 255.8 kB / 0.7972 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.2214, allocations: 63.09 kB / 0.7973 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.2214, allocations: 37.7 kB / 0.7973 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2216, allocations: 346.8 kB / 0.7977 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.2218, allocations: 104 kB / 0.7978 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.2221, allocations: 211.5 kB / 0.798 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.2225, allocations: 275.5 kB / 0.7982 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2226, allocations: 3.938 kB / 0.7982 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00061/0.2232, allocations: 364.8 kB / 0.7986 GB, free: 256 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/0.2233, allocations: 154.8 kB / 0.7987 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2233, allocations: 4 kB / 0.7987 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2233, allocations: 4 kB / 0.7987 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.2236, allocations: 63.91 kB / 0.7988 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2236, allocations: 4.047 kB / 0.7988 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.2238, allocations: 71.45 kB / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.2239, allocations: 12 kB / 0.7989 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.2239, allocations: 4 kB / 0.7989 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003325/0.2242, allocations: 235.6 kB / 0.7991 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2242, allocations: 0 / 0.7991 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.2242, allocations: 11.92 kB / 0.7991 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.2244, allocations: 51.92 kB / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2244, allocations: 4 kB / 0.7992 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2246, allocations: 47.83 kB / 0.7992 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2246, allocations: 12 kB / 0.7992 GB, free: 15.55 MB / 0.6231 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.0001732/0.2248, allocations: 233.1 kB / 0.7995 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.2249, allocations: 39.53 kB / 0.7995 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.2249, allocations: 35.59 kB / 0.7995 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2249, allocations: 4 kB / 0.7995 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.225, allocations: 3.938 kB / 0.7995 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.225, allocations: 4 kB / 0.7995 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.226, allocations: 0.7146 MB / 0.8002 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.226, allocations: 0 / 0.8002 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2262, allocations: 43.91 kB / 0.8003 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2262, allocations: 3.938 kB / 0.8003 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2263, allocations: 4 kB / 0.8003 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.2263, allocations: 0 / 0.8003 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2263, allocations: 0 / 0.8003 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.227, allocations: 444.5 kB / 0.8007 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.2271, allocations: 124.8 kB / 0.8008 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.2271, allocations: 4 kB / 0.8008 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2273, allocations: 31.97 kB / 0.8009 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.2273, allocations: 11.97 kB / 0.8009 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2274, allocations: 12 kB / 0.8009 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003083/0.2277, allocations: 287.2 kB / 0.8012 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2277, allocations: 0 / 0.8012 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004581/0.2281, allocations: 131.4 kB / 0.8013 GB, free: 13.34 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.0009336/0.2291, allocations: 0.9819 MB / 0.8022 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000627/0.2297, allocations: 368.4 kB / 0.8026 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2297, allocations: 4.062 kB / 0.8026 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.2299, allocations: 91.83 kB / 0.8027 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.2305, allocations: 68.58 kB / 0.8028 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.2348, allocations: 3.61 MB / 0.8063 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2352, allocations: 0.8038 MB / 0.8071 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.2353, allocations: 35.27 kB / 0.8071 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.2355, allocations: 139.4 kB / 0.8072 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2355, allocations: 4 kB / 0.8072 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.2515, allocations: 6.309 MB / 0.8134 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.2517, allocations: 220.8 kB / 0.8136 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.062, allocations: 0 / 0.8136 GB, free: 0.668 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)