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.001755/0.001755, allocations: 109.4 kB / 15.69 MB, free: 128 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.00157/0.00157, allocations: 187.2 kB / 16.62 MB, free: 6.582 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.752/1.752, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.0015/0.0015, allocations: 72.05 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002967/0.2381, allocations: 1.843 MB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2399, allocations: 1.238 MB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.2402, allocations: 4 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.2404, allocations: 75.19 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.2407, allocations: 71.39 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2411, allocations: 159.7 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.2415, allocations: 485 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.242, allocations: 259.1 kB / 0.7877 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.2422, allocations: 175.3 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2424, allocations: 198.9 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.2425, allocations: 52 kB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.2425, allocations: 52 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.2426, allocations: 107.6 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.2427, allocations: 218.8 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.2432, allocations: 0.5956 MB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2432, allocations: 0 / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2432, allocations: 0 / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2432, allocations: 0 / 0.789 GB, free: 7.723 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.001126/0.2444, allocations: 0.7523 MB / 0.7897 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2444, allocations: 16.02 kB / 0.7898 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.803e-05/0.2445, allocations: 74.72 kB / 0.7898 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.2446, allocations: 52.31 kB / 0.7899 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.2452, allocations: 364.2 kB / 0.7902 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.2453, allocations: 33.38 kB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.2454, allocations: 40.38 kB / 0.7903 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.246, allocations: 391.5 kB / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2461, allocations: 3.938 kB / 0.7907 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.2461, allocations: 16 kB / 0.7907 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.2461, allocations: 12 kB / 0.7907 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.2466, allocations: 275.8 kB / 0.791 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2484, allocations: 1.316 MB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.249, allocations: 230.8 kB / 0.7925 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.2493, allocations: 109.7 kB / 0.7926 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.2493, allocations: 7.984 kB / 0.7926 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2493, allocations: 30.56 kB / 0.7926 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.2493, allocations: 7.938 kB / 0.7926 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006162/0.25, allocations: 279.5 kB / 0.7929 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.25, allocations: 110.8 kB / 0.793 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.2505, allocations: 413.6 kB / 0.7934 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2505, allocations: 33.7 kB / 0.7934 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.2507, allocations: 255.7 kB / 0.7937 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.2507, allocations: 63.09 kB / 0.7937 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.2508, allocations: 65.61 kB / 0.7938 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2509, allocations: 346.8 kB / 0.7941 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.2512, allocations: 104.8 kB / 0.7942 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.2514, allocations: 195.6 kB / 0.7944 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2518, allocations: 251.5 kB / 0.7946 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2518, allocations: 4 kB / 0.7946 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00057/0.2524, allocations: 351.7 kB / 0.795 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2525, allocations: 8 kB / 0.795 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2525, allocations: 0 / 0.795 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2525, allocations: 7.938 kB / 0.795 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.2527, allocations: 68.12 kB / 0.7951 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2528, allocations: 11.94 kB / 0.7951 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.253, allocations: 55.59 kB / 0.7951 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.253, allocations: 8 kB / 0.7951 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002124/0.2532, allocations: 192.8 kB / 0.7953 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001717/0.2534, allocations: 176.3 kB / 0.7955 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002358/0.2537, allocations: 215.5 kB / 0.7957 GB, free: 480 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.2537, allocations: 0 / 0.7957 GB, free: 480 kB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003759/0.2541, allocations: 303.9 kB / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.2541, allocations: 8 kB / 0.796 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.2541, allocations: 4.219 kB / 0.796 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.2541, allocations: 7.984 kB / 0.796 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.2543, allocations: 51.92 kB / 0.796 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2543, allocations: 11.88 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2545, allocations: 39.73 kB / 0.7961 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2545, allocations: 8 kB / 0.7961 GB, free: 40 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.0001557/0.2547, allocations: 196.2 kB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.2548, allocations: 39.53 kB / 0.7963 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.2548, allocations: 39.61 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2548, allocations: 7.938 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2549, allocations: 0 / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2549, allocations: 0 / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.2558, allocations: 0.698 MB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2559, allocations: 4.062 kB / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.256, allocations: 39.91 kB / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2561, allocations: 0 / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2561, allocations: 8 kB / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2561, allocations: 0 / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2561, allocations: 0 / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.2567, allocations: 420.5 kB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.2568, allocations: 112.7 kB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.2569, allocations: 8 kB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2571, allocations: 11.98 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.2571, allocations: 23.92 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.2571, allocations: 4 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002859/0.2574, allocations: 291.2 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2574, allocations: 0 / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004611/0.2579, allocations: 131.4 kB / 0.7981 GB, free: 13.93 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.0008879/0.2588, allocations: 0.9517 MB / 0.799 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006377/0.2594, allocations: 362.2 kB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2594, allocations: 0 / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2596, allocations: 83.89 kB / 0.7994 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.2601, allocations: 81.5 kB / 0.7995 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.2643, allocations: 3.366 MB / 0.8028 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2647, allocations: 0.8035 MB / 0.8036 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.2649, allocations: 43.52 kB / 0.8036 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.2651, allocations: 131.4 kB / 0.8037 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.2651, allocations: 0 / 0.8037 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.2892, allocations: 6.717 MB / 0.8103 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.395, allocations: 11.28 kB / 0.8103 GB, free: 1.352 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)