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.0006845/0.0006845, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000779/0.000779, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.576/1.576, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004937/0.0004939, allocations: 17.25 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2056, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002294/0.208, allocations: 1.381 MB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2103, allocations: 1.214 MB / 0.79 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004264/0.2107, allocations: 7.938 kB / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.211, allocations: 47.52 kB / 0.79 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.2114, allocations: 39.72 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.2117, allocations: 107.8 kB / 0.7901 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.2122, allocations: 413.1 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.2126, allocations: 187 kB / 0.7907 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2127, allocations: 111.3 kB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.2129, allocations: 127.1 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.213, allocations: 12 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.362e-05/0.213, allocations: 12 kB / 0.791 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.2131, allocations: 59.69 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.2132, allocations: 89.45 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.2135, allocations: 447 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2135, allocations: 4 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2136, allocations: 0 / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.2136, allocations: 0 / 0.7915 GB, free: 7.57 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.001075/0.2147, allocations: 0.6977 MB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2147, allocations: 12.03 kB / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.2148, allocations: 78.52 kB / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.2149, allocations: 51.34 kB / 0.7924 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.2154, allocations: 355.2 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2154, allocations: 29 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.2155, allocations: 39.91 kB / 0.7928 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.2161, allocations: 403 kB / 0.7931 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2162, allocations: 0 / 0.7931 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.2162, allocations: 16 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2162, allocations: 8 kB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.2168, allocations: 287.8 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.2186, allocations: 1.351 MB / 0.7948 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.2191, allocations: 242.8 kB / 0.795 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2193, allocations: 112.8 kB / 0.7951 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2193, allocations: 0 / 0.7951 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2194, allocations: 38.55 kB / 0.7951 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.2194, allocations: 0 / 0.7951 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006111/0.22, allocations: 308.1 kB / 0.7954 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.22, allocations: 106.8 kB / 0.7955 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.2205, allocations: 421.4 kB / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2205, allocations: 33.7 kB / 0.796 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2207, allocations: 251.7 kB / 0.7962 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.2207, allocations: 59.11 kB / 0.7963 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.2208, allocations: 11.94 kB / 0.7963 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2209, allocations: 350.8 kB / 0.7966 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.2211, allocations: 103.9 kB / 0.7967 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.2214, allocations: 207.6 kB / 0.7969 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.2216, allocations: 127.8 kB / 0.797 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2216, allocations: 0 / 0.797 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005761/0.2222, allocations: 357.1 kB / 0.7974 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/0.2223, allocations: 158.5 kB / 0.7975 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2223, allocations: 3.984 kB / 0.7975 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.2224, allocations: 7.984 kB / 0.7975 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.2226, allocations: 67.91 kB / 0.7976 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2226, allocations: 0 / 0.7976 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.2228, allocations: 63.66 kB / 0.7977 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.2229, allocations: 16 kB / 0.7977 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.2229, allocations: 4 kB / 0.7977 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003288/0.2232, allocations: 235.5 kB / 0.7979 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2232, allocations: 4 kB / 0.7979 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.2232, allocations: 4 kB / 0.7979 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2234, allocations: 56.12 kB / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2234, allocations: 4 kB / 0.798 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.2236, allocations: 43.67 kB / 0.798 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2236, allocations: 12 kB / 0.798 GB, free: 0.6016 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.2238, allocations: 241.6 kB / 0.7982 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.2239, allocations: 35.53 kB / 0.7983 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.2239, allocations: 35.61 kB / 0.7983 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.224, allocations: 7.984 kB / 0.7983 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.224, allocations: 0 / 0.7983 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.224, allocations: 0 / 0.7983 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.225, allocations: 0.7184 MB / 0.799 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.225, allocations: 0 / 0.799 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.2252, allocations: 39.92 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2252, allocations: 4 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2252, allocations: 3.984 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2252, allocations: 4.062 kB / 0.7991 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2252, allocations: 4 kB / 0.7991 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.2258, allocations: 439.3 kB / 0.7995 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.2259, allocations: 124.6 kB / 0.7996 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.226, allocations: 0 / 0.7996 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2261, allocations: 35.91 kB / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.2262, allocations: 7.953 kB / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.2262, allocations: 15.98 kB / 0.7997 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000293/0.2265, allocations: 287.2 kB / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2265, allocations: 0 / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004467/0.227, allocations: 123.5 kB / 0.8001 GB, free: 14.39 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 (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.000944/0.2279, allocations: 0.9781 MB / 0.801 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006388/0.2286, allocations: 364.2 kB / 0.8014 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2286, allocations: 4 kB / 0.8014 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2288, allocations: 91.83 kB / 0.8015 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.2293, allocations: 73.91 kB / 0.8015 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.2326, allocations: 2.151 MB / 0.8036 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.2329, allocations: 0.796 MB / 0.8044 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.2331, allocations: 51.47 kB / 0.8045 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.2333, allocations: 135.4 kB / 0.8046 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.2333, allocations: 0 / 0.8046 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.2525, allocations: 6.581 MB / 0.811 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.2528, allocations: 210.8 kB / 0.8112 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.955, allocations: 0 / 0.8112 GB, free: 2.984 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/linux/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) Environment - environmentSimulation: